Title: gettext
Last modified: September 25, 2019

---

# gettext

 *  [microbond](https://wordpress.org/support/users/microbond/)
 * (@microbond)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/gettext-2/)
 * Hi
 * I am trying to change some text that is encoded in the en_GB.mo file. But for
   some reason I cannot effect the change. I have edited the appropriate PHP file,
   the .po file and created the .mo and placed in what I think is the correct directory,
   on both my internet server and localhost, neither of which change the text within
   the browser invocation of the code. I can get gettext working on other projects
   but the main difference is the use of ..\locale\<ll>\LC_MESSAGES\ which WP does
   not seem to use and the fact that the gettext documentation works to spec.
 * Can somebody point me at any appropraite documentation or provide guidance, please?
 * A worked example would be helpful!
 * Cheers
 * Paul.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fgettext-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Joy](https://wordpress.org/support/users/joyously/)
 * (@joyously)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/gettext-2/#post-11968374)
 * Is it a change in the WordPress core translation file? Or is it for a theme or
   plugin?
    Translation file updates are downloaded sort of behind the scenes. Did
   your change get overwritten? And for core translations, the code used to check
   for local copies before going to load it externally, but I’m not sure if that
   check is still in place. (translations changed around [WP 4.6](https://wordpress.org/support/wordpress-version/version-4-6/):“
   Translations managed through translate.wordpress.org now have a higher priority
   and are loaded just-in-time.”
 *  Thread Starter [microbond](https://wordpress.org/support/users/microbond/)
 * (@microbond)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/gettext-2/#post-11974139)
 * Hi Joy
 * Thanks for the response.
 * I want to be able to change all three, core, plugins and themes however I have
   only been succesful with “Hello Dolly” so far. My amended translation files have
   not been overwritten or updated. I am either not running Poedit correctly with
   the appropriate configuration settings or I am not changing the correct file 
   in the correct directory, or something else is wrong. Just one worked example
   that successfully changes a *.mo file, that renders correctly on a browser, should
   be enough for me to figure out the rest, I think!
 * Also, I could do with understanding how the WP language files are not using the
   standard gettext directory structure of ./locale\<ll>\LC_MESSAGES ? I presume
   there is a config parameter somewhere?
 * Obviously I need to do a bit more research, but your help is much appreciated.
 * Cheers
 * Paul

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘gettext’ is closed to new replies.

## Tags

 * [gettext](https://wordpress.org/support/topic-tag/gettext/)
 * [i18n](https://wordpress.org/support/topic-tag/i18n/)
 * [language](https://wordpress.org/support/topic-tag/language/)
 * [locale](https://wordpress.org/support/topic-tag/locale/)
 * [localisation](https://wordpress.org/support/topic-tag/localisation/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [microbond](https://wordpress.org/support/users/microbond/)
 * Last activity: [6 years, 8 months ago](https://wordpress.org/support/topic/gettext-2/#post-11974139)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
