• Resolved carbeck

    (@carbeck)


    And another minor thing: WP Slimstats doesn’t seem to correctly recognize some language codes – in my case, these are: pl-pl, pt-pt, vi-vn, th-th. These are just listed with an “l-” in front of them in the language-related info boxes instead of having their proper names: Polish (Poland), Portuguese (Portugal), Vietnamese (Vietnam), Thai (Thailand), respectively.

    http://wordpress.org/extend/plugins/wp-slimstat/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter carbeck

    (@carbeck)

    Looking at the .po file for English, only those languages with significant variants in multiple nations (e.g. de-de, de-at, de-ch) seem to be registered with two-part language codes. You might want to have a mechanism that matches the nearest alternative, e.g. “pt” for Portuguese generally, even if the user’s browser specifies “pt-pt”, in case “pt-pt” can’t be found in the .po file. Or maybe something like this exists already, but it’s buggy?

    Plugin Author Jason Crouse

    (@coolmann)

    Good point, I will look into that. In the meanwhile, I added the ones you found to the .po file.

    Cheers,
    Camu

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Language codes not recognized?’ is closed to new replies.