Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

[SOLVED] custom dir...
 
Notifications
Clear all

[SOLVED] custom directory for "tooli18n"

4 Posts
2 Users
0 Reactions
4,108 Views
(@bourle)
Posts: 26
Active Member
Topic starter
 
[#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 🙂 )


 
Posted : 07 Oct 2016 11H22
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

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


 
Posted : 10 Oct 2016 18H53
(@bourle)
Posts: 26
Active Member
Topic starter
 

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" ?


 
Posted : 10 Oct 2016 20H55
babynus
(@babynus)
Posts: 14966
Main Contributor 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. 😉


 
Posted : 10 Oct 2016 21H01
Share:

Scroll to Top