Language files for modules

When you install a new modul, language file for english is ok, but what do we do with other languages?
It looks wierd to have something lime _CHAT_TOP_MENU_ITEM?

Quote · 8 Mar 2012

You need to create a new language file for the module.

modules/vendor_name/module_name/install/langs

Make a copy of the en.php file.

Rename to your language. ru.php for russian for example.

Then edit the file. Change the english text to your language.

Then go into admin->tools->modules select the module and recompile the language.

https://www.deanbassett.com
Quote · 8 Mar 2012

I did that and all that happens is that my language file is rewritten with english and string still looks wierd.

Quote · 8 Mar 2012

Ok, string is gone but still the whole language file is overwritten with English

Quote · 8 Mar 2012

Your leaving the copies in the modules/vendor_name/module_name/install/langs folder correct?

Your not moving them to the langs folder in the root of the site are you?

I have never seen those module language folders get over written. I does not make sense to me as dolphin does not write to those folders so i have no idea why that is happening.


https://www.deanbassett.com
Quote · 8 Mar 2012

I know it's strange. I didn't move them from theri folder.  Luckily it was just 20 lines at the bottom and I added them manually in non-english language file.

Quote · 8 Mar 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.