Hi Laurent,

I didn't know this was possible. I dug the source code and it seems
possible indeed.
It is explained on line 80 of the htdocs/core/class/translate.class.php
source file.
You need to put MAIN_FORCELANGDIR not to 1 but to the relative path of the
directory holding your custom langs folder.

Hope this helps,

Cheers,


2014-03-31 15:22 GMT+02:00 Laurent Léonard <laur...@open-minds.org>:

> Hello,
>
> I want to override some language strings without modifying language files
> provided with Dolibarr to avoid loss of changes when I will make an update.
> What's the best way to do it?
>
> I followed the instructions provided by Régis here:
>
> http://www.dolibarr.fr/forum/11-suggestionsnouvelles-fonctionnalites/30393-utiliser-un-fichier-langue-perso-xyzlocallang-butI
>  am not sure it is still valid because it is not working.
>
> Thank you,
> --
> Laurent Léonard
>
> _______________________________________________
> Dolibarr-dev mailing list
> Dolibarr-dev@nongnu.org
> https://lists.nongnu.org/mailman/listinfo/dolibarr-dev
>



-- 
*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>
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><http://wiki.dolibarr.org/index.php/Dolibarr_suppliers_France#GPC.solutions>
_______________________________________________
Dolibarr-dev mailing list
Dolibarr-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev

Répondre à