Translation PHP Files
I’ve inherited a website at work that was setup in the following manner:
Header, navigation, and bottom-footer are all tied directly to .php files on our FTP server. (ie. we aren’t using Appearance>Menus for nav)
To have these files work with multiple languages, translated files are created. For example:
nav.php = nav_de.php for German, _es for Spanish, etc.
bottom-footer.php = bottom-footer-de.php etc.
I’ve added 2 strings in the Theme’s .po/.mo files to manage those translations (ie. original=nav.php and translated=nav_de.php)
This method has worked for all of our languages (German, French, and Spanish) but is now not working for Italian. I have literally followed the exact same steps. Any ideas?
- The topic ‘Translation PHP Files’ is closed to new replies.