Browse Source

Docs: Set the `translationsOutputFile` option in the Vue integrtation docs.

Maciej Bukowski 5 years ago
parent
commit
4dfc0e5427
2 changed files with 5 additions and 12 deletions
  1. 4 1
      docs/builds/guides/frameworks/vuejs.md
  2. 1 11
      docs/features/ui-language.md

+ 4 - 1
docs/builds/guides/frameworks/vuejs.md

@@ -216,7 +216,10 @@ module.exports = {
 			// CKEditor needs its own plugin to be built using webpack.
 			new CKEditorWebpackPlugin( {
 				// See https://ckeditor.com/docs/ckeditor5/latest/features/ui-language.html
-				language: 'en'
+				language: 'en',
+
+				// Append translations to the file matching the `app` name:
+				translationsOutputFile: /app/
 			} )
 		]
 	},

+ 1 - 11
docs/features/ui-language.md

@@ -128,17 +128,7 @@ If you build CKEditor 5 from scratch or integrate it directly into your applicat
 				// The bundle is optimized for one language when this option is omitted.
 				additionalLanguages: 'all',
 
-				// An optional directory for emitted translations. Relative to the webpack's output.
-				// Defaults to `'translations'`.
-				// outputDirectory: 'ckeditor5-translations',
-
-				// Whether the build process should fail if an error occurs.
-				// Defaults to `false`.
-				// strict: true,
-
-				// Whether to log all warnings to the console.
-				// Defaults to `false`.
-				// verbose: true
+				// For more advanced options see https://github.com/ckeditor/ckeditor5-dev/tree/master/packages/ckeditor5-dev-webpack-plugin.
 			} ),
 
 			// Other webpack plugins...