corrupt language file en_GB.po

161 views Asked by At

I have set up a site using Xmarket theme on WordPress 4.1.5 and everything was fine, I've transferred the site to a live host and now the language files seem to of been corrupted. From what I gather they are stored in the wp-content/themes/xmarket/languages/en_GB.po as I found the msgstr in question being displayed as 'logaaaut' for logout and 'SAIGNNNN' for Sign In.

****example of the file****

#: et-links.php:13 et-links.php:14
msgid "Sign In"
msgstr "SAIGNNNNN"

I have edited these msgstr to show the correct values of Sign In and the same for Logout but it doesn't seem to of had an effect to the site.

****edited version****

#: et-links.php:13 et-links.php:14
msgid "Sign In"
msgstr "Sign In"

I have also tried to delete the language files and re-upload the non corrupt versions from the other working site but to no avail.

Bit stuck on what to try next.

1

There are 1 answers

0
Will Webb On BEST ANSWER

I have realised how this error has occurred, when I transferred the site to the new host I actually ended up changing the language from English (United States) to English (UK). Once changed back on WordPress Dashboard>Settings>General>Site Language it has rectified the mistake in translation.