After changing language project lang file isn't created

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
philmills
User
Posts: 579

After changing language project lang file isn't created

Post by philmills »

I have a single language project.
Initially the project was created in en-US then later I added et-EE language file.
I switched the project over to the new language.
After generating files my site had no page titles, menu text or column headings.
I inspected the lang folder and I saw that there was a file named myproject.en-US.xml , but no file named myproject.et-EE.xml

If I update the menu, and regenerate the files, still no myproject.et-EE.xml file is generated, and the new entries don't appear in the file myproject.en-US.xml

How can I make PHPMaker generate that file for the selected language?

v2024.13


arbei
User
Posts: 9787

Post by arbei »

Make sure you put your language file with correct name in the correct folder, read Making Language Files.


philmills
User
Posts: 579

Post by philmills »

It seems like the presence of defined name and desc in Line 2 of my lang file was causing it to fail. I guess because these attributes are now handled elswhere in v2024.
There is no specific mention of this change in the notes for migrating lang files to v2024
It might be a good idea to add a note about that.


Post Reply