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)
-
0
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?
-
0
Hi ,
So I have to add manually with the same key which is provided in English common XML file with a different language?
-
0
On startup page I am getting error after login.
-
0
@demirmusa -- we have'nt made many instance.
-
0
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 ?