[Freeciv-Dev] [patch #3481] en_US locale (to restore diacritics etc)

2015-10-21 Thread Sveinung Kvilhaugsvik
Follow-up Comment #7, patch #3481 (project freeciv):

> See patch #6451.

Note that patch #6451 only touches the gettext side. An en_US locale could
still be useful if we want to use non ASCII characters in a C *string literal*
msgid. See https://www.gnu.org/software/gettext/FAQ.html#nonascii_strings (The
options -finput-charset, -fexec-charset and -fwide-exec-charset are GCC
specific)

___

Reply to this item at:

  

___
  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] [patch #3481] en_US locale (to restore diacritics etc)

2015-10-20 Thread Jacob Nevins
Follow-up Comment #6, patch #3481 (project freeciv):

> (An alternative would be lifting the restriction that means 
> msgids have to be ASCII-only. I don't know what that entails.)
See patch #6451.

___

Reply to this item at:

  

___
  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] [patch #3481] en_US locale (to restore diacritics etc)

2014-07-17 Thread Emmet Hikory
Follow-up Comment #4, patch #3481 (project freeciv):

I've prepared an en_US translation (without diacriticals, but just `make
${PROJECT}.pot; msginit`).  Unfortunately, the mentioned comments (I searched
for `U+` appearing in comments) seem to assume there is a one-to-one
relationship between a language domain and a character set, which isn't even
true in Europe anymore (ISO-8859-1/ISO-8859-15/UTF-8/UCS2 are all very
common), let alone places with more complex orthography.

Do we use bind_textdomain_codeset in a way that makes it safe for me to use
UTF-8 representations in the translation (I'm happy to do en_GB at the same
time, if this is the case)?  Note that we appear to use UTF-8 in the rulesets
for strings not subject to translation (e.g. city names, ruler names).

Alternately, is my understanding of gettext outdated?  Is it now safe to
declare a character set for msgid so that we may just use UTF-8 there?

___

Reply to this item at:

  http://gna.org/patch/?3481

___
  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] [patch #3481] en_US locale (to restore diacritics etc)

2014-07-17 Thread Emmet Hikory
Update of patch #3481 (project freeciv):

Category:None = general
  Status:None = Need Info  
 Assigned to:None = persia 
 Planned Release: = 2.6.0+others?  

___

Follow-up Comment #5:

Assuming it's safe to use UTF-8, done for trunk, as three patches:

diacritical-hint-cleanups.patch adds more diacriticals hints for Göktürk in
hephthalite.ruleset (the Göktürks crushedthe Hephthalites in our history),
for Juárez in mexico.ruleset (we spelled his name correctly in
zapotec.ruleset), and adusting the hint in salvadoran.ruleset so that Unicode
matches Latin 1 (preferring the orthography selected in the Wikipedia article
about El Salvador).

add-en_US-translation.patch adds support for en_US to our translations, and
adds .po files for all the translation domains, with appropriate diacritical
adjustments.

add-en_GB-diacriticals.patch adds all the diacriticals added in en_US to the
current trunk en_GB translation (no other updates were applied to en_GB).

I don't know how much of this should be backported to S2_5 or S2_4, but would
be happy to backport it, given direction.  Also, while I'm up for providing
and committing the initial en_US translation, my personal orthography isn't
precisely en_US, so I'm unlikely to be a good maintainer if there are needs
for changes beyond the restoration of diacriticals.

(file #21457, file #21458)
___

Additional Item Attachment:

File name: diacritical-hint-cleanups.patch Size:2 KB
File name: add-en_GB-diacriticals.patch   Size:22 KB


___

Reply to this item at:

  http://gna.org/patch/?3481

___
  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] [patch #3481] en_US locale (to restore diacritics etc)

2014-07-17 Thread Emmet Hikory
Additional Item Attachment, patch #3481 (project freeciv):

File name: add-en_US-translation.patch.gz Size:355 KB


___

Reply to this item at:

  http://gna.org/patch/?3481

___
  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] [patch #3481] en_US locale (to restore diacritics etc)

2014-06-30 Thread Emmet Hikory
Follow-up Comment #3, patch #3481 (project freeciv):

Is there anyone active currently who remains opposed to this?  There aren't
that many strings to translate to en_US, so it seems relatively simple to do.

___

Reply to this item at:

  http://gna.org/patch/?3481

___
  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] [patch #3481] en_US locale (to restore diacritics etc)

2012-08-03 Thread Jacob Nevins
URL:
  http://gna.org/patch/?3481

 Summary: en_US locale (to restore diacritics etc)
 Project: Freeciv
Submitted by: jtn
Submitted on: Fri Aug  3 20:37:19 2012
Category: None
Priority: 3 - Low
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Planned Release: 

___

Details:

In a number of places (notably nations), there are plain ASCII renderings of
names/words with diacritics etc with i18n marking, accompanied with TRANS
comments instructing translators where to reinstate the non-ASCII characters.

This means English players miss out on correct orthography. I could fix this
for en_GB players in the po file (but haven't).

Any reason we couldn't supply an en_US locale whose *only* job was to restore
the orthography? (It's possible this could even be done mechanically, although
I'm not sure how it would work exactly.)

(An alternative would be lifting the restriction that means msgids have to be
ASCII-only. I don't know what that entails.)




___

Reply to this item at:

  http://gna.org/patch/?3481

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev