CoreBOSBB
[ solved ] pt_br file for payments module - 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 ] pt_br file for payments module (/showthread.php?tid=1483)



[ solved ] pt_br file for payments module - rslemer - 04-25-2019

I revised some terms for payments module


RE: pt_br file for payments module - joebordes - 04-26-2019

Please use custom_strings for this


RE: pt_br file for payments module - rslemer - 04-26-2019

Sorry, dont understand ...

I revised all terms for cobropago and missed terms in pt_lang file ..


RE: pt_br file for payments module - joebordes - 04-26-2019

create a file named like this:


modules/CobroPago/language/pt_br.custom.php

and put this inside:

PHP Code:
<?php
$custom_strings 
= array (
** 
put your translations here **
);
?>

that will override the default application translations


RE: pt_br file for payments module - rslemer - 04-28-2019

Let me know how translation works in actually version

There are a file, with language in each language module, table translation, and now, custom_string too?

For default how system works with each file/bd table actually?


RE: pt_br file for payments module - joebordes - 04-29-2019

the escalation is like this:
- search for the string in modules/MODULE/language/xx_xx.lang.php
- search for the string in include/language/xx_xx.lang.php
- search for the string in modules/MODULE/xx_xx.custom.php
- search for the string in Translation module
- return given string

you use xx_xx.custom.php to create custom translations for your clients that will not enter in conflict with the base translation files


RE: pt_br file for payments module - rslemer - 04-29-2019

Thanks!