Base solution for your next web application
Open Closed

Why new language xml file not generate when create the new language. #7515


User avatar
0
PMS created

Hi ,

When I add language in "app/admin/languages" then why new language xml file not generate?

and when chnage newly created language from the menu gives the error in browser console.

Can you please give the stpes how we can resolve this? and use newly created language in application?

Thanks In advance.


5 Answer(s)
  • User Avatar
    0
    musa.demir created

    When I add language in "app/admin/languages" then why new language xml file not generate?

    I'll make an estimate. It can cause problems when hosting project in multiple servers. For example you have 5 instances up in 5 server. When one instance get request, it will create its own xml. But it is not able to know how many instances are up, where are they located etc. This is very difficult to manage. Instead of that, create xml file then create new language.

    By the way xml files are static they are not changing in realtime.

    And on which page you received this error?

  • User Avatar
    0
    PMS created

    Hi ,

    So I have to add manually with the same key which is provided in English common XML file with a different language?

  • User Avatar
    0
    PMS created

    On startup page I am getting error after login.

  • User Avatar
    0
    PMS created

    @demirmusa -- we have'nt made many instance.

  • User Avatar
    0
    musa.demir created

    If you dont create xml file and add your translations in runtime it will use database. There should be no mistakes. I follow your error steps and I could not reproduce that error.

    On which page did you get this error ?