Ticket #45761

Messages not translating nations

Open Date: 2022-10-03 12:28 Last Update: 2022-10-14 06:23

Reporter:
Owner:
Type:
Status:
Closed
Component:
MileStone:
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
File:
1

Details

(I'm playing in Esperanto using the classic ruleset, if that matters)

For many (possibly all) messages involving a nation, the nation is left untranslated.

For example:
"Vi kontaktiĝis kun la Mongols, estrataj de Börte."
Instead of:
"Vi kontaktiĝis kun la Mongoloj, estrataj de Börte."

or
"Vi konsentas armisticon kun la Arabs. Post 16 vicoj, ĝi iĝos pactraktato. Forpelu viajn unuojn el la Arab teritorio."
Instead of
"Vi konsentas armisticon kun la Araboj. Post 16 vicoj, ĝi iĝos pactraktato. Forpelu viajn unuojn el la Araba teritorio."

The relevant nation translation lines are here:

#: 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"

And the messages are here:

#: server/plrhand.c:2078 server/plrhand.c:2082
#, c-format
msgid "You have made contact with the %s, ruled by %s."
msgstr "Vi kontaktiĝis kun la %s, estrataj de %s."

#. TRANS: ... the Poles ... Polish territory
#: server/diplhand.c:596 server/diplhand.c:610
#, c-format
msgid ""
"You agree on an armistice with the %s. In %d turn, it will become a peace "
"treaty. Move your military units out of %s territory to avoid them being "
"disbanded."
msgid_plural ""
"You agree on an armistice with the %s. In %d turns, it will become a peace "
"treaty. Move any military units out of %s territory to avoid them being "
"disbanded."
msgstr[0] ""
"Vi konsentas armisticon kun la %s. Post %d vico, ĝi iĝos pactraktato. "
"Forpelu viajn unuojn el la %s teritorio."
msgstr[1] ""
"Vi konsentas armisticon kun la %s. Post %d vicoj, ĝi iĝos pactraktato. "
"Forpelu viajn unuojn el la %s teritorio."

Ticket History (3/6 Histories)

2022-10-03 12:28 Updated by: carbsrule
  • New Ticket "Messages not translating nations" created
2022-10-03 17:46 Updated by: cazfi
  • Milestone Update from (None) to 3.0.5 (closed)
  • Component Update from (None) to General
Comment

Nations from core translation domain affected. Not a regression (not blocking 3.0.4 release)

2022-10-05 10:17 Updated by: cazfi
Comment

I think the earlier report https://www.hostedredmine.com/issues/771676 is actually this same problem.

2022-10-09 21:46 Updated by: cazfi
  • Owner Update from (None) to cazfi
  • Resolution Update from None to Accepted
  • Component Update from General to Server
Comment

Will push even to S2_6

2022-10-14 06:23 Updated by: cazfi
  • Status Update from Open to Closed
  • Resolution Update from Accepted to Fixed

Edit

Please login to add comment to this ticket » Login