Hi,

Currently i'm developing an application that will have multilingual support, so what I need is allowing the user to enter the same text with different languages. As an example: lets say I want to build a dictionary which provide the user with multiple input fields and each one of them belongs to different language.

I was thinking of using the CMS for to store these values in a same object of CMS but each field in different language.

Do you think that this is a good idea? are there any problems that I may face?

asked 19.09.2018 at 06:51

hiba%20nassar's gravatar image

hiba nassar
(suspended)
accept rate: 0%


Hi Hiba

That means you want to add new entries to the cms during runtime?

Note, that there are some restrictions to this: 1. If you deploy your ivy project as .iar it will be stored on the engine as .iar too since version 7.1. In this case the CMS is read only. You will receive exceptions if you try to change it. 2. If you deploy your ivy project normal it is stored as folder on the engine and you are allowed to write to the CMS, However, if you redeploy your project you will overwrite all changes to the cms that were done in the meantime.

Considering this restrictions I cannot recommend to use the CMS for your use case. I would store the values in an external database table.

Regards

Reto Weiss, Axon.ivy Support

link

answered 19.09.2018 at 08:06

Reto%20Weiss's gravatar image

Reto Weiss ♦♦
4.9k202857
accept rate: 74%

Hi Reto,

Thank you so much for your quick reply ,i'll go with the database approach.

Regards

Hiba Nassar

link

answered 26.09.2018 at 07:59

hiba%20nassar's gravatar image

hiba nassar
(suspended)
accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×26

Asked: 19.09.2018 at 06:51

Seen: 1,609 times

Last updated: 26.09.2018 at 07:59