WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Polylang] Using 4 english locations/'languages'?

[Plugin: Polylang] Using 4 english locations/'languages'?

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

    @chouby

    Of course it is !

    Currently, you can use whatever you want to replace the ISO 639-1 2 characters language code (you are however limited to 2 or 3 characters). I don’t know if there are specific ISO 3 characters code to differentiate these languages.

    Then you have to create translations of WordPress and your theme for all languages (of course en_US is the native language of WordPress). I know en_CA is already existing for WordPress (and maybe some themes).

    Thanks for the reply!

    I have set up 4 “new” locales, which are not WordPress specific locales:

    en_UK
    en_US
    en_NZ
    en_ZA

    which was the only way for Polylang to accept the menu settings.

    I have created a “polylang” folder in wp-content, and renamed the 4 flags as:
    en_UK.png
    en_US.png
    en_NZ.png
    en_ZA.png

    But the flags are not recognized in the Menu section.

    What am I missing?
    Thanks, Peter

    Plugin Author Chouby
    Participant

    @chouby

    You did things right. I expect flags do appear on frontend side (you will need to create some post or page in each language to check taht) and not on admin side. I intentionnaly use only the flags provided by the plugin (in fact stored in polylang/include/flags) on admin side. This is to prevent mess in ui for users who choose flags with a different size.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Polylang] Using 4 english locations/'languages'?’ is closed to new replies.