• I have a dutch wordpress site, language is ‘Nederlands’, software including translations downloaded from nl.ww.wp.xz.cn.

    I know about 3 different versions of Nederlands/dutch:

    1. “Nederlands” nl_NL <html lang=”nl”>
    2. “Nederlands (formeel) nl_NL <html lang=”nl-NL”
    3. and an incomplete Nederlands voor België, I assume nl_BE.

    I would like the country code ‘NL’ added to the language code ‘nl’, just like the difference between en_US en_UK etc.

    I found this:
    /wp-includes/general-template.php:716: $output = __( 'html_lang_attribute' );
    and in /wp-contant/languages/nl_NL.po this:

        18	msgid "html_lang_attribute"
        19	msgstr "nl"

    and I guess that is where the magic happens.

    Now my questions:

    1. Is this correct?
      I don’t think so, see “Nederlands (formeel)”.
    2. How – if correct – can i get the behaviour i want?
      I could change the pot/po/mo files but they would be overwritten by the next update.

    BTW: 4.7.0 does the same.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘how do I get ?’ is closed to new replies.