I am in a rush right now and can't seem to find the answer i"m looking for.

I have a wordpress website that has english and french versions. I see it is using Multi site language switcher to flip between the different sites.

WHen i look in the template files, i see the _e('some text in here') function which is responsible for rendering english and french text .

However, I can't seem to locate the language/localization files. I went into wp-content/language and I see .mo and .po files. The .mo file is not human readable and hte .po file doesn't have the dictionary of words I want to modify.

Can someone tell me what I need to do to update the localization files?


2 Answers 2


Themes have their own language files. Look in your themes folder for a po file: /wp-content/themes/yourtheme/


Instead of in "wp-content", the .mo & .po files should be present in the particular theme/plugin directory, in which the php file was present. Please check that directory.

Basically .mo file is a compiled version of .po file. So to update the localized text, you'll first edit the .po file & then compile it(which generates the .mo file) & wordpress would read from the .mo file

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.