Translating Core Multisite Files
-
Objective: To change some of the core admin text labels to provide a better context for users of our wordpress multisite instance.
Example: On the Users > Add screen change: “Enter the email address or username of an existing user on this network to invite them to this site. That person will be sent an email asking them to confirm the invite.” to “Enter the email address or username of an existing <Product Name> user on invite them to this site. That person will be sent an email asking them to confirm the invite.”
What I’ve tried so far:
– Within the Loco Translate plugin, I’ve copied the admin-en_AU.po (with all current translations) and created a new language keeping the same file name but storing this under the safe “loco” folder location. I’ve then updated the above phrase and saved the file. The translation didn’t occur.
– I’ve then deleted the above and copied the admin-en_AU.po (with all current translations) in exactly the same manner, but set the new file to remember the original source as the template (in hope this will help me when the core language files are updated). I’ve then updated the above phrase and saved the file. The translation didn’t occur.
Observations:
– The mo / po files are created / updated fine on the file system (which tells me the files are being written to the server fine).
– No translation of WordPress’ admin labels appeared to take place. Not sure if the customized language files are necessarily being loaded.Questions:
– What is the recommended approach to implementing language file changes to the core wordpress bundles within a wordpress multisite environment? I’ve read through FAQ, docs, and previous support tickets but couldn’t see many references to making translations with the core wordpress bundles. Would really appreciate a little guidance to make sure I’m approaching this correctly.
Thank you in advance! ??
- The topic ‘Translating Core Multisite Files’ is closed to new replies.