When i develop, i prefer see the translation token but when I’m in production 
see a default translation if exist is better

Maybe add a DEVELOP_MODE_DISPLAY value to select the desired display and maybe 
some other debugging infos

Other thing about the translation, add a specific langfiles for personal 
translation

If the file exist, we load it at last and use the value inside instead of 
classical used value

Like this we stop to change value in the langfiles 

 

Bien cordialement,

Charles-François BENKE

 

De : [email protected] 
[mailto:[email protected]] De la part de 
Doursenaud, Raphaël
Envoyé : mardi 5 août 2014 10:25
À : Posts about Dolibarr ERP & CRM development and coding
Objet : [Dolibarr-dev] Translations fallback language

 

Hi all,

 

When using a language for which translations are unavailable, Dolibarr displays 
the translation token instead (At least in external modules).

 

It would be better if it used a fallback language instead (let's say en_US) so 
it displays human readable informations instead of -sometimes- cryptic tokens.

 

What's your take on it?

 

Cheers,
-- 

Raphaël Doursenaud

Directeur technique (CTO)

Expert certifié en déploiement Google Apps 
<https://gpcsolutions.fr/raphael-doursenaud-google-apps-certified-deployment-specialist>
 

+33 (0)5 35 53 97 13 - +33 (0)6 68 48 20 10

 

 <http://gpcsolutions.fr> Image supprimée par l'expéditeur.

http://gpcsolutions.fr

Technopole Hélioparc

2 avenue du Président Pierre Angot

64053 PAU CEDEX 9

SARL GPC.solutions au capital de 7 500 € - R.C.S. PAU 528 995 921

 
<https://www.google.com/a/partnersearch/#partner?partner_id=46687933_a0n60000000sqpWAAQ>
 Image supprimée par l'expéditeur. 
<http://wiki.dolibarr.org/index.php/Dolibarr_suppliers_France#GPC.solutions> 
Image supprimée par l'expéditeur.

_______________________________________________
Dolibarr-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev

Répondre à