patchFreeciv - Patches: patch #7700, Special msgid to let translators...

Show feedback again

patch #7700: Special msgid to let translators control capitalisation, etc

Submitted by:  Jacob Nevins <jtn>
Submitted on:  Sat Sep 17 14:01:29 2016  
Category: NonePriority: 5 - Normal
Status: NonePrivacy: Public
Assigned to: NoneOpen/Closed: Open
Planned Release: 2.6.0, 3.0.0Contains string changes: Yes

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

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


Sat Sep 17 14:19:20 2016, comment #1:

For most part this sounds like a beneficial idea, but do you have an idea how to handle problems of partial translations? Translation may set an option in a way that is not really suitable for built-in US English (or do we only provide options where the built-in language doesn't care?) but then falls back to built-in strings in some cases (if untranslated or fuzzy).

Marko Lindqvist <cazfi>
Project Administrator
Sat Sep 17 14:01:29 2016, original submission:

Patch #3028 hardcoded a behaviour in the Freeciv code that the Finnish locale triggers certain messages to have their initial letter capitalised.

We could remove the hardcoding and let other translators opt in to this by having a special msgid in whose msgstr translators can specify which such magic behaviours they want. Freeciv would read this and act on it, instead of looking at the locale name.

Is there some reason why this would be a terrible idea?

Other thoughts:

  • Place it at the top of core .po files
  • Make sure there's a non-empty value that means "do nothing", so that it doesn't keep showing up in fuzzies
  • I considered including the list of possible options in the msgid, so translators get to know when there's a new one, but that means that the behaviour gets turned off in the meantime. An alternative approach would be to have a new msgid per option rather than a comma-separated string (I think I prefer this, on reflection).
Jacob Nevins <jtn>
Project Administrator


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

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by cazfi (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



    No Changes Have Been Made to This Item
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup