Project

General

Profile

Bug #852637

msys1: "Norwegian Bokmål" misdisplayed in Windows installer

Added by Marko Lindqvist 7 months ago. Updated 6 months ago.

Status:
Closed
Priority:
Normal
Category:
Windows Installers
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Splitting msys1 side from Bug #681314, reported by Jacob Nevins, as a separate ticket.

History

#2 Updated by Marko Lindqvist 7 months ago

Problem reproducible with S2_6 HEAD. Testing the patch next.

#3 Updated by Marko Lindqvist 7 months ago

  • Status changed from Resolved to New

Marko Lindqvist wrote:

Testing the patch next.

It caused translations to not be available at all.

#4 Updated by Marko Lindqvist 7 months ago

There's no 'iconv' command on msys1 environment.

#5 Updated by Marko Lindqvist 7 months ago

  • Target version deleted (2.6.2)

#6 Updated by Jacob Nevins 7 months ago

That's a shame.

Looking at exes in gnuwin32-2019-12-20.7z, it seems to contain some sort of Python 2.7. Could that be used? It's a bit of a sledgehammer, but this bodge dies with msys1.

The following seems to do what's needed with Python 2 on my Linux system (although I'm not an expert on Python Unicode subtleties).

import sys; print(sys.stdin.read().decode('utf_8').encode('latin_1'))

#7 Updated by Marko Lindqvist 6 months ago

  • Target version set to 2.6.2

#9 Updated by Marko Lindqvist 6 months ago

  • Status changed from New to Resolved

Christian Prochaska wrote:

I added the 'iconv' command in http://files.freeciv.org/packages/windows/gnuwin32/gnuwin32-2020-01-02.7z

It appears to work with the patch.

Confirmed

#10 Updated by Marko Lindqvist 6 months ago

gnuwin update pushed.

#11 Updated by Marko Lindqvist 6 months ago

  • Status changed from Resolved to Closed
  • Assignee set to Marko Lindqvist

#12 Updated by Jacob Nevins 6 months ago

Thank you for going to the considerable effort of fixing this.

While our Bokmål translation isn't currently much to look at, I can't imagine this glitch inspired confidence in our i18n from other language users; and getting this right opens the possibility of presenting language names in native orthography, if we want to (Русский, 中文, sort of thing).

Also available in: Atom PDF