CoreBOSBB
[solved] Translating module for specific installation - Printable Version

+- CoreBOSBB (https://discussions.corebos.org)
+-- Forum: Support (https://discussions.corebos.org/forumdisplay.php?fid=17)
+--- Forum: Administrator Support (https://discussions.corebos.org/forumdisplay.php?fid=8)
+--- Thread: [solved] Translating module for specific installation (/showthread.php?tid=1131)



[solved] Translating module for specific installation - rslemer - 07-01-2018

How I can use a translating module to change, for example name module in only one installation ?

I means I don't wish change name of module for all, but only for one client

Is possible?


RE: Translating module for specific installation - joebordes - 07-01-2018

In that installation create a file called pt_br.custom.php and put inside an array with the specific translation you want for that install:



PHP Code:
<?php
$custom_strings 
= array (
   'label to translate' => 'your translation'
}; 


you can put any label that exists in the main language file you want to override.
These pt_br.custom.php language files must be inside the same directory that the pt_br.lang.php file is.


RE: Translating module for specific installation - rslemer - 07-01-2018

Thanks!

=)