Multilingual System lang files |
Hello,
I found the following issue in Codeigniter. Initial situation: I have a multilingual site and using language class of CI. Everything is working fine for own language files. Problem: I want to translate content of (/codeigniter/system/language/english/form_validation_lang.php) and tried following: Created translated file /codeigniter/system/language/german/form_validation_lang.php In controller I use $this->lang->load('form_validation', 'german'); for loading language file, but I still get english translation for form errors. My workaround at the moment: Created dummy (almost empty) file /codeigniter/system/language/english/form_validation_lang.php. Also created /codeigniter/application/language/german/system/form_validation_lang.php and load $this->lang->load('system/form_validation', 'german'); Does anyone know what is the right way to work with translated system lang files? Documention at https://github.com/bcit-ci/codeigniter3-translations is not helping me. |
Messages In This Thread |
Multilingual System lang files - by 1tft - 06-15-2018, 05:08 AM
RE: Multilingual System lang files - by Eduardo Faria - 06-15-2018, 07:13 AM
RE: Multilingual System lang files - by 1tft - 06-15-2018, 08:20 AM
|