[Freeciv-Dev] [bug #21060] Cosmetic issues in Windows installer language selection
Update of bug #21060 (project freeciv): Status: Ready For Test = None ___ Reply to this item at: http://gna.org/bugs/?21060 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #21060] Cosmetic issues in Windows installer language selection
Update of bug #21060 (project freeciv): Planned Release: 2.4.1, 2.5.0, 2.6.0 = ___ Reply to this item at: http://gna.org/bugs/?21060 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #21060] Cosmetic issues in Windows installer language selection
Follow-up Comment #10, bug #21060 (project freeciv): for completeness sake one should note that en_US is separately added to the beginning of the list, while rest are alphabetical sorted. By luck American English would fit the alphabetical order (at least close, I haven't checked) Mm, true. I can live with that, though; en_US is clearly special in the installer, since you can't not install it. We may also want to reconsider adding native names of the languages. I've thought so too. However, we'd definitely want to have a Unicode-clean path all the way to the installer, on all supported versions of Windows (and even then I'd be worried that the user's system might fail to display some characters due to lack of font support). A choice of English, □, □□, or is probably more annoying to people who want other languages than the current situation :) ___ Reply to this item at: http://gna.org/bugs/?21060 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #21060] Cosmetic issues in Windows installer language selection
Follow-up Comment #9, bug #21060 (project freeciv): Not that I'm against the change, but for completeness sake one should note that en_US is separately added to the beginning of the list, while rest are alphabetical sorted. By luck American English would fit the alphabetical order (at least close, I haven't checked) We may also want to reconsider adding native names of the languages. That seems to be quite common practice - One has to understand header like Choose your language in English, but then actual language name in the list is Suomi instead of Finnish. ___ Reply to this item at: http://gna.org/bugs/?21060 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #21060] Cosmetic issues in Windows installer language selection
Follow-up Comment #8, bug #21060 (project freeciv): Thanks for testing this and doing this. (I agree the language code should remain visible.) Cosmetic: I propose tweaking American English to US English. (file #19350) ___ Additional Item Attachment: File name: trunk-S2_5-S2_4-installer-us-english.patch Size:2 KB ___ Reply to this item at: http://gna.org/bugs/?21060 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #21060] Cosmetic issues in Windows installer language selection
Update of bug #21060 (project freeciv): Status:None = Ready For Test Assigned to: cproc = None Planned Release: = 2.4.1, 2.5.0, 2.6.0 ___ Follow-up Comment #4: Patch worked. New, hopefully final, version: - Also sdl-client package handled - Have also language code visible as in Finnish (fi) (file #19295) ___ Additional Item Attachment: File name: NsisRealLangNames-2.patch Size:3 KB ___ Reply to this item at: http://gna.org/bugs/?21060 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #21060] Cosmetic issues in Windows installer language selection
Follow-up Comment #2, bug #21060 (project freeciv): Here's an idea (as a patch) I'm going to test next time I have opportunity to use Windows environment. List language names instead of codes in the dropdown. Have code to convert from language name to language code generated to nsi-file, for each language: ${If} $LangName == Finnish StrCpy $DefaultLanguageCode fi ${EndIf} Patch is for gtk2-client version only. Once I've got that working, it's trivial to make similar changes to sdl-client version. (file #19275) ___ Additional Item Attachment: File name: NsisRealLangNames.patchSize:1 KB ___ Reply to this item at: http://gna.org/bugs/?21060 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #21060] Cosmetic issues in Windows installer language selection
Follow-up Comment #3, bug #21060 (project freeciv): For the UTF-8 problem this might be useful link: http://nsis.sourceforge.net/Utf8Converter ___ Reply to this item at: http://gna.org/bugs/?21060 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #21060] Cosmetic issues in Windows installer language selection
URL: http://gna.org/bugs/?21060 Summary: Cosmetic issues in Windows installer language selection Project: Freeciv Submitted by: jtn Submitted on: Sat Aug 24 14:53:59 2013 Category: general Severity: 2 - Minor Priority: 5 - Normal Status: None Assigned to: cproc Originator Email: Open/Closed: Open Release: 2.4.0-RC1 Discussion Lock: Any Operating System: None Planned Release: ___ Details: 1. The description of the nb language code (Norwegian Bokmål) is mangled on display, at least on my (Windows 7 British English) system. See screenshot. It looks to me like UTF-8 interpreted as ISO 8859-1 or Win1252. bootstrap/langnames.txt (from which this string comes) is encoded in UTF-8. I'm guessing that encoding will pass straight through create-freeciv-gtk2-nsi.sh to the NSIS script, and what happens then will depend on NSIS' character set handling. Is there some way to tell NSIS that the script it's been given is UTF-8 encoded, and if so will everything from then on Just Work? Failing that, we could take the pragmatic step of changing the encoding of langnames.txt in svn to ISO 8859-1. 2. While the Choose Components screen has friendly language names, the Choose Default Language step just has language codes. It would be nice if it displayed language names. (This is a left-over from patch #3463.) This doesn't look completely trivial, as it looks like the display name and output name are currently tied. I'm sure it's possible to change the NSIS script to separate them, but I haven't looked into it as I wouldn't be set up to test any changes. ___ File Attachments: --- Date: Sat Aug 24 14:53:59 2013 Name: lang3.png Size: 38kB By: jtn 2.4.0-RC1 Windows installer, nb (Norwegian Bokmål) name mangled http://gna.org/bugs/download.php?file_id=18750 ___ Reply to this item at: http://gna.org/bugs/?21060 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #21060] Cosmetic issues in Windows installer language selection
Update of bug #21060 (project freeciv): Operating System:None = Microsoft Windows ___ Reply to this item at: http://gna.org/bugs/?21060 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #21060] Cosmetic issues in Windows installer language selection
Follow-up Comment #1, bug #21060 (project freeciv): This doesn't look completely trivial, as it looks like the display name and output name are currently tied. I'm sure it's possible to change the NSIS script to separate them, but I haven't looked into it as I wouldn't be set up to test any changes. When I looked it, it seemed that one cannot have distinct displayed text and selected value there, but I'm certainly not expert of nsis control language. So it would be something like en_GB - British English both dislayed in selection dialog and got as value when use selects it - somewhere it would need to be parsed to en_GB only. ___ Reply to this item at: http://gna.org/bugs/?21060 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev