News for hackers. Stuff that matters.
Re:Windows 11 calls a zip file a 'postcode file' in UK English by kalleboo on Thursday June 08, 2023 @01:38AM (#36237670)
There was a famous translation mistake back in the days of IE 5 for Mac or so where in one of the settings screens they translated the country code for Norway "no" as "nej" (literally No) in Swedish
Re:Windows 11 calls a zip file a 'postcode file' in UK English by djxfade on Thursday June 08, 2023 @03:36AM (#36238486)
This is still a problem today with YAML. Say you have something like a list of locales, the word 'no' get's interpreted as a boolean.
Re:Windows 11 calls a zip file a 'postcode file' in UK English by alkonaut on Thursday June 08, 2023 @05:24AM (#36239220)
I get that in the latest version of the Panasonic aircon apps. They have the term "No." (with ha dot, as the column header for the column "number" in a table). So in Swedish the app says

    Nej.  
    1
    2
i18n is HARD. But it's not THIS step that is hard. This is day one of i18n school. You can't translate from english terms. Just stop translating things from english, translate from a neutral key!

    key         en-US     sv-SE
    num_short   "No."     "No."
    yesno_no    "No"      "Nej"
    yesno_yes   "Yes"     "Ja"