Skip to main content
Question

Custom Enumeration Translation through customization

  • December 12, 2022
  • 6 replies
  • 232 views

Forum|alt.badge.img+4

Hello All

  1. I am working on  a task where I need to add translations to a field which is a part of dropdown through customization . So I used code generation(projection and client file) to get TranlsationDb file for that particular component . after giving generate code , I got TranslationDb file in the build place of my workspace . I used the file to scan code in DEV and if I check in Text translation or translatable text  I don’t get the fields which are part of the enumeration . It only shows certain fields related to entity and projection.
  2. For next try , I  gave customize to the enumeration file , got the translationDb file after code generation . did the same process from step 1 , still if I check for the fields from that enumeration , it is not displaying anything .

Can someone guide  me with this . 

Thank you :)

6 replies

suneth
Do Gooder (Employee)
Forum|alt.badge.img+6
  • Do Gooder (Employee)
  • 38 replies
  • December 13, 2022

Hi,

Can you attach your TranlsationDb file here ?

Regards,

/Suneth

 

 


Forum|alt.badge.img+4
  • Author
  • Do Gooder (Partner)
  • 7 replies
  • December 13, 2022

Thanks for replying suneth

I have attached the TranslationDb file  . The field I  need is Pack according to packing proposal. I did search in this TranslationDb  XML file . But it not present .

please guide me further..


suneth
Do Gooder (Employee)
Forum|alt.badge.img+6
  • Do Gooder (Employee)
  • 38 replies
  • December 13, 2022

Are you adding this enumeration using developer studio enumeration model file or custom enumeration using Aurena client ?

 


Forum|alt.badge.img+4
  • Author
  • Do Gooder (Partner)
  • 7 replies
  • December 13, 2022

Developer studio Enumeration Model File .


suneth
Do Gooder (Employee)
Forum|alt.badge.img+6
  • Do Gooder (Employee)
  • 38 replies
  • December 14, 2022

When you generate code for that model file,  Isn’t generated TranslationDb file contains  values of the enumeration ?

Please attach enumeration model file too.


suneth
Do Gooder (Employee)
Forum|alt.badge.img+6
  • Do Gooder (Employee)
  • 38 replies
  • December 15, 2022
  1. You need an IFS Customization project in developer studio  to create custom enumerations.
  2. Using this customization project you can create new  enumeration model in custom layer.
  3. Then you will get all the values of enumeration in generated translationDB file.
  4. Then you can scan the file using Scan Translatable Code page. 
  5. Now your enumeration values will be visible in Translatable Text page.

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings