Skip to content

I get 'language file not found' error. how to fix it

pavel edited this page Sep 11, 2016 · 4 revisions

By default, the filemanager is set to use English language file. Language can be set by user, setting the culture var into filemanager.config.json file and in your connector configuration file.

Opening the filemanager from CKeditor will pass the langCode variable to the filemanager through URL. langCode overwrite all other settings.

So, if you get the Language string error on LANGUAGE_FILE_NOT_FOUND error message, be sure the langCode variable value corresponds to any of them contained in https://github.com/servocoder/RichFilemanager/tree/master/scripts/languages/

The name of a language file is a code identifier of the language according to RFC 3066: http://www.i18nguy.com/unicode/language-identifiers.html