Forum

[SOLVED] custom dir...
 
Notifications
Retirer tout

[SOLVED] custom directory for "tooli18n"

4 Posts
2 Utilisateurs
0 Reactions
4,088 Vu
(@bourle)
Posts: 26
Active Member
Début du sujet
 
[#3727]

Hi

There is a custom directory for "model".
But, if I have some modifications in TicketMain.php, I need change the file "lang.js" (for me in ...tooli18n ..tooli18nnlsfr)

I think the change it's for the plug-in "Customization of screens", but you planned to do ?

Thank you (again 🙂 )


 
Posté : 7 Oct AM 11:1010
(@babynus)
Posts: 14952
Membre Admin
 

Each plugin can have its own translation files, in nls format.


 
Posté : 10 Oct PM 18:1010
(@bourle)
Posts: 26
Active Member
Début du sujet
 

I think I don't understand...

I want more field in TicketMain.
I do a copy of "TicketMain.php" in "modelcustom". I do my change in this file.
Now I need to modify the "tooli18nnlslang.js" and "tooli18nfrnlslang.js" ?


 
Posté : 10 Oct PM 20:1010
(@babynus)
Posts: 14952
Membre Admin
 

I do a copy of "TicketMain.php" in "modelcustom"

You need to copy Ticket.php and not TicketMain.php !!!
(otherwise you won't keep compatibility with standard version)

Now I need to modify the "tooli18nnlslang.js" and "tooli18nfrnlslang.js" ?

Yes.
Or use the "Personalized translation" plugin.

NB : this is exactly what "Screen Customization" plugin does. 😉


 
Posté : 10 Oct PM 21:1010
Share:
Retour en haut