title: Setting editor UI language
The UI of the editor can be localized. CKEditor 5 currently supports around 20 languages and the number is growing.
If you want to help in translating CKEditor 5 to your language please join the CKEditor 5 project on Transifex.
See the demo of the editor in German:
{@snippet features/ui-language}
Currently, it's only possible to change the UI language at the build stage. A single build of the editor supports only the language which was defined in the CKEditor 5 Webpack plugin's configuration.
If you use one of the {@link builds/index predefined editor builds}, refer to {@linkTODO builds/guides/development/custom-builds.md Creating custom builds} to learn how to change the language of your build.
If you build CKEditor from scratch or integrate it directly into your application, then all you need to do is to:
Install the @ckeditor/ckeditor5-dev-webpack-plugin package:
npm install --save @ckeditor/ckeditor5-dev-webpack-plugin
Add it to your Webpack config:
(Note: the language code is defined in the ISO 639-1 standard.)
const CKEditorWebpackPlugin = require( '@ckeditor/ckeditor5-dev-webpack-plugin' );
// Define Webpack plugins ...
plugins: [
new CKEditorWebpackPlugin( {
// Note: currently, the plugin is able to build just one language at a time.
languages: [ 'pl' ]
} ),
// Other Webpack plugins...
]
// ...
Run Webpack. The CKEditor plugin for Webpack will replace {@link module:utils/locale~Locale#t t()} function calls used in the source code with the localized language strings.
We are aware that the current localization method is not sufficient for all needs. It neither supports different bundlers (e.g. Rollup or Browserify) nor building multiple languages (so it's possible to pick one at runtime). We will be extending the localization possiblities in near future.
You can read more about the used techniques and future plans in the ["Implement translation services" issue](https://github.com/ckeditor/ckeditor5/issues/387).