About the edits we do in Polyglot

Hello everyone,

It seems like Polyglot is doing the changes NOT by editing on module lang.xml files, but somewhere else.

Cause when i restore the language from developer > Polyglot the translations are gone.
1. What procedure in detail is doing RESTORE the language and RECOMPILE the language commands?
2. Where do polyglot do the changes?
3. How can we transfer our changes that we did by using polyglot to the module xml files? Is this needed? In which conditions?

  • 313
  • More
Replies (3)
    • 1. Restore language completely overwrites any changes in the language - this is the reason it's in Developer module

      2. Polyglot do the changes in the DB only

      3. Don't use "restore", then changes in languages will not be lost, only when language key is modified upon module update, which affect only relatively small number of language keys.

      • Ok thanks a lot  Alex

        • Hello Cem, also I saw that you had customized the xml file of the English module.
          I do not think it's a good idea, especially since when you did that, you did a lot of work to create your own module Turkey.
          The best is to follow this tutorial to make you a complete module, so you keep the English language as a reference and then you can restore your module Turkey if anytime you make the changes directly in xml.

          https://github.com/unaio/una/wiki/Creating-new-language-module

          Login or Join to comment.