Support » Plugin: Loco Translate » File naming bug?

  • Resolved richpav


    I’m creating us_EN .mo files because my site’s default language is Japanese. When I use Loco Translation to create an en_US translation, the files are named, for example, wpml-sticky-links-ja.poen_US.po and

    I’m using Loco Translate 1.4.4.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author timwhitlock


    First of all I’m confused by the idea that your site’s default language being Japanese means that English MO files are loaded. WordPress’s default language is en_US, so the normal approach is to set ja_JP as your language meaning that the file is loaded – not the other way around.

    As for the actual file naming problem –

    If you don’t specify a “Text Domain” plugin header, Loco will try to work out the intended text domain of your plugin, so avoid using a language code in places that might indicate that this is the text domain you’re using.

    I’m not ruling out the possibility of a bug, but I need to understand what it’s trying to do.
    It looks like Loco is trying to copy the naming convention of an existing PO file, but I’m not aware of any bug affecting that functionality. It might be easier if you email your whole plugin to support-wp at

    Plugin Author timwhitlock


    Can you confirm whether there is still an issue here to be resolved. I’ve not received any follow up.

    I’ve marked the topic resolved.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘File naming bug?’ is closed to new replies.