bugFreeciv - Bugs: bug #20828, i18n tags (e.g.,...

Show feedback again

bug #20828: i18n tags (e.g., "?unit:Workers") appear in interface

Submitted by:  Jacob Nevins <jtn>
Submitted on:  Sun May 19 00:42:19 2013  
Category: freeciv-webSeverity: 3 - Normal
Priority: 5 - NormalStatus: None
Assigned to: NoneOpen/Closed: Open
Release: Operating System: None
Planned Release: 3.0.0Contains string changes: None

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


Wed Apr 9 16:35:03 2014, comment #5:

Attaching an experimental patch for i18n support for Freeciv-web. It is based on http://i18next.com/

Not intended for committing yet.

(file #20501)

Andreas Røsdal <andreasr>
Project Member
Sun Jun 9 20:28:49 2013, comment #4:

It would be very interesting to have full i18n support in Freeciv-web. One of the big challenges will probably be to allow multiple clients in different languages to get strings from the server in their own language.

For now, I can compile freeciv-web with --disable-nls which will remove the i18n tags.

Andreas Røsdal <andreasr>
Project Member
Sun May 19 19:19:48 2013, comment #3:

Note that the bug is not in freeciv svn at all, but in freeciv-web client. Easiest solution would probably be to strip qualifiers in server side already before sending strings to client side. That would not bring localization support in freeciv-web any closer, but given how far it's anyway, solution might be acceptable in S2_5.

Marko Lindqvist <cazfi>
Project Administrator
Sun May 19 09:42:39 2013, comment #2:

Shouldn't need even that... even if ENABLE_NLS is disabled, skip_intl_qualifier_prefix() still strips the prefix, and you'd normally end up calling that (e.g. utype_name_translation() -> name_translation(), uses field originally populated by names_set() with Q_()).

Jacob Nevins <jtn>
Project Administrator
Sun May 19 09:34:28 2013, comment #1:

I suspect this is another case where patch #3481 would provide a solution. Won't help if running in "C" locale, but at least prevents most folk from encountering this sort of thing.

Emmet Hikory <persia>
Project Member
Sun May 19 00:42:19 2013, original submission:

For instance, I've seen "?unit:Workers" in the unit info box in bottom right. I think I saw it in the city "change production" dialog too.

Jacob Nevins <jtn>
Project Administrator


(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):

Attached Files
file #20501:  freeciv-i18n-changes-2.patch added by andreasr (59kB - application/octet-stream)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by andreasr (Posted a comment)
  • -unavailable- added by cazfi (Posted a comment)
  • -unavailable- added by persia (Posted a comment)
  • -unavailable- added by jtn (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Error: not logged in



    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu Jan 21 04:24:32 2016cazfiPlanned Release=>3.0.0
    Wed Apr 9 16:35:03 2014andreasrAttached File-=>Added freeciv-i18n-changes-2.patch, #20501
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup