How to name the language files?

  • 007me

    #9752

    Hi,

    I would like to translate the theme.

    How should I name the PO and MO files?

    007me

    #44470

    I tried

    he_IL.po

    and

    franz-josef-he_IL.po

    both didn’t work.

    Admin

    Syahir Hakim

    #44471

    It should be <language code>_<country_code>.po, so in your case it’s he_IL.po. But there’s a bug in the theme that causes the language to not be loaded. Will be fixed soon.

    007me

    #44472

    Thanks, I’ll wait for the fix

    Admin

    Syahir Hakim

    #44473

    This issue has been resolved in Franz Josef 1.0b-r10.

    007me

    #44474

    Strange, the theme update deleted my PO and MO files….

    Needed to upload them again.

    But now the translation works, so I can continue to translate.

    But yo need to figure out why it deleted my files during upgrade.

    Admin

    Syahir Hakim

    #44475

    The files are deleted due to the way WordPress auto-update mechanism works – it deletes the theme’s folder entirely first, then recreates the folder and places the updated files in there. This is just like making any modifications to the theme’s files – those will be lost when the theme is updated.

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.