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.

Translatability of ...
 
Notifications
Clear all

Translatability of types

3 Posts
2 Users
0 Reactions
3,528 Views
(@jean-luc)
Posts: 73
Active Member
Topic starter
 
[#1862]

I succeeded to convert the existing table 'risklevel' to have translatable values. I manage to do so for other values lists.

Bu is it possible to have translatable values for types in the 'type' table as with simples tables ? I have already understood how to add new types (I need 'payment mode' as Paypal, Bank transfer, etc.), but full names need to be translatable (for french people, 'virement' is better than 'bank transfer'…)


 
Posted : 19 Jun 2014 19H21
babynus
(@babynus)
Posts: 14953
Main Contributor Admin
 

Yes possible; always the same : add $_isNameTranslatable=true and include names in translation files


 
Posted : 20 Jun 2014 11H22
(@jean-luc)
Posts: 73
Active Member
Topic starter
 

Found myself this morning. Tested… and succeeded. 😆

But requires to add “public $_isNameTranslatable = true;” in all concerned model files, not only in model/type.php. 😉


 
Posted : 20 Jun 2014 13H44
Share:

Scroll to Top