Problems with dialogue / Esperanto city names

Benno Lang <[email protected]> Mon, 3 Oct 2022 12:52:13 +1030
Newsgroups gmane.games.freeciv.internationalization
Message-ID <CAEt-YpWVCqAF8vD7LnyCXTkJgYcPykAo-4gTY=bqO+xcf0MBHA@mail.gmail.com>
Hi,

I'm working on the Esperanto translation. At the moment I'm mostly
focusing on making sure the in-game messages are translated sensibly.
Then I'll work on the help text etc.

I have two questions:
1. The nation names don't seem to get translated in certain dialogues;
is this a bug or is there something else I need to do? I've tested
using both a server started by the client (attached image with
Mongols), and using a separate client and server (attached image with
Arabs). Relevant lines from the eo.po files:

#: data/civ1/nations.ruleset:1265 data/civ2/nations.ruleset:1526
#: data/nation/mongol.ruleset:5
msgid "Mongol"
msgstr "Mongola"

#: data/civ1/nations.ruleset:1266 data/civ2/nations.ruleset:1527
#: data/nation/mongol.ruleset:6
msgid "?plural:Mongols"
msgstr "?plural:Mongoloj"

#: data/nation/arab.ruleset:5
msgid "Arab"
msgstr "Araba"

#: data/nation/arab.ruleset:6
msgid "?plural:Arabs"
msgstr "?plural:Araboj"

2. The city names for the "Esperant" nation seem to be somewhat random
gibberish. I've updated the list to be international cities important
in the history of Esperanto: Zamenhof's birth city; city of first
Esperanto club; city where the UEA was founded; cities where the
Universala Kongreso has been held (one city per country for greater
international flavour). I've also added some other city names using
Esperanto cultural stuff (books/concepts). I've kept and refined a
handful of the original city names. I'm not sure if this is a welcome
change so I've attached a diff for discussion instead of just
committing it.

Thanks
benno
mongols.png (image/png, 15.6 KB) - not displayed
arabs.png (image/png, 16.8 KB) - not displayed
esperant-cities.diff (text/x-patch, 2.1 KB)
diff --git a/data/nation/esperant.ruleset b/data/nation/esperant.ruleset
index e8872be11a..c57b44d06a 100644
--- a/data/nation/esperant.ruleset
+++ b/data/nation/esperant.ruleset
@@ -27,53 +27,63 @@ init_units=""
 civilwar_nations = "volapukan"
 
 cities =
- "Esperanturbo",
+ "Bjalistoko",
+ "Nurenbergo",
+ "Bulonjo ĉe maro",
+ "Ĝenevo",
+ "Kembriĝo",
+ "Barcelono",
+ "Vaŝingtono",
+ "Antverpeno",
+ "Hago",
+ "Prago",
+ "Helsinko",
+ "Vieno",
+ "Budapeŝto",
+ "Stokholmo",
+ "Romo",
+ "Zagrebo",
+ "Kopenhago",
+ "Sofio",
+ "Tokio",
+ "Beogrado",
+ "Ateno",
+ "Rejkjaviko",
+ "Varno",
+ "Braziljo",
+ "Vankuvero",
+ "Pekino",
+ "Havano",
+ "Bergeno",
+ "Seulo",
+ "Adelajdo",
+ "Tel-Avivo",
+ "Vilno",
+ "Hanojo",
+ "Bonaero",
+ "Nitro",
+ "Lisbono",
+ "Interna Ideo",
+ "Fundamento",
+ "Guto Malgranda",
+ "Krestomatio",
+ "La Espero",
+ "Verda Standardo",
+ "Homaranismo",
+ "Streĉita Kordo",
+ "Interrompita Kanto",
+ "Verda Koro",
+ "Faka Forumo",
+ "Gufujo",
+ "Aligatorejo",
+ "Fina Venko",
  "Novurbo",
  "Kongresurbo",
  "Sabla Plaĝo (ocean)",
- "Nordaj Montetoj (mountains)",
- "Venta Valo (plains, grassland)",
- "Herbejorojo",
- "Sunleviĝo",
- "Ferorivereto (river)",
+ "Akvo de l' Rivero (river)",
  "Egaleco",
- "Montriĉa (mountains)",
- "Genuo de Mortigicerv",
- "Piedo de Urso",
- "Lama Cervo",
- "Monto de la Lupo (mountains)",
- "Malakra Tranĉilo",
- "Eta Grandkorno",
- "Blua Akvo (ocean)",
- "Betulara Ravino",
- "Arbarlago (forest)",
+ "Sovaĝa Arbaro (forest)",
  "Blankŝtona Monteto (hills)",
- "Lago de l' Morta Bubalo",
- "Blankbirda Rojo (river)",
- "Klar-akvo (ocean)",
- "Granda Truo",
- "Pinara Kresto",
- "Paco",
- "Espero",
- "Pafilfumo",
- "Flugmonaĥino",
- "Sankta Johano",
- "Sankta Petro",
- "Sankta Mateo",
- "Sankta Andreo",
- "Sankta Paŭlo",
- "Sankta Jakvo",
- "Granda Monto",
- "Sankta Georgo",
- "Sankta Baptisto",
- "Verda Arbaro",
- "Blua Lago (river)",
- "Ruĝa Lago (river)",
- "Nigra Monto",
- "Neĝa Monto",
- "Blankŝtona Monteto",
- "Birda Rojo",
- "Granda Rojo",
- "Banburgo-ĉe-Rivero (river)",
- "Granda Rivero (river)",
- "Novburgo-ĉe-Maro (ocean)"
+ "Pacejo",
+ "Esperejo",
+ "Neĝa Monto (mountains)"