bugBattle for Wesnoth - Bugs: bug #20268, Make it possible for Wesnoth to...

Show feedback again

bug #20268: Make it possible for Wesnoth to provide month name translations and the like

Submitted by:  Espreon <espreon>
Submitted on:  Sat 27 Oct 2012 04:08:56 PM UTC  
Category: BugSeverity: 2 - Minor
Priority: 1 - LaterItem Group:  None of the others
Status: FixedPrivacy: Public
Assigned to: Andrius Silinskas <thunderstruck>Open/Closed: Closed
Release: 1.11.x (and 1.10.x)Operating System: *

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

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


(Jump to the original submission Jump to the original submission)

Wed 23 Sep 2015 06:24:35 PM UTC, comment #7:

Version 1.11.7's changelog:

See also commit 947a842badf43b9700f12d149844808b51c2c8e0.

Ignacio R. Morelle <shadowmaster>
Project Administrator
Wed 23 Sep 2015 05:54:01 AM UTC, comment #6:

This one sounds rather out of my depth then. But good to know that our main supported platforms seem to be okay.

Wedge009 <wedge009>
Tue 22 Sep 2015 07:38:51 PM UTC, comment #5:

boost::locale is now required depencency on windows.

There are however some plattforms where we don't require boost locale yet see this thread: http://forums.wesnoth.org/viewtopic.php?f=10&t=41196

Tue 22 Sep 2015 01:37:40 PM UTC, comment #4:

I'm not familiar with the details of this one, but is it still a problem now? Can boost be of assistance now? In Ubuntu, at least, boost packages are at least 1.54 in recent releases and is 1.48 for long-term supported release 12.04.

aquileia's external dependencies package for Windows compilation includes recent boost releases as well.

Wedge009 <wedge009>
Wed 13 Mar 2013 09:58:28 PM UTC, comment #3:

And, as I noted on IRC, perhaps Boost.Locale might be able to help is in the future. Sadly, we can't use it right now since we'd need to bump the minimum Boost version to 1.48. So, maybe later.


Espreon <espreon>
Project Member
Mon 10 Dec 2012 12:39:27 AM UTC, comment #2:

bug #19708 has been marked as a duplicate of this bug.

Simon Forsyth <alarantalara>
Project Member
Wed 31 Oct 2012 01:27:41 AM UTC, comment #1:

Perhaps Boost could help us:


Espreon <espreon>
Project Member
Sat 27 Oct 2012 04:08:56 PM UTC, original submission:

To (help) ensure that the messages from the following threads do not become lost in the sands of time and to expand on them, I have filed this bug report.



Basically, right now, the game relies on the system for translations of the names of days and months and for things such as "AM" and "PM". However, if one is using a translation to a minority or dead language, the system likely won't have any translations to give the game nor will it likely ever get translations to give.

In addition, for "AM" and "PM", the game currently attempts to draw translations from the current internally-set locale, but for some translations, this typically results in failure (on systems using glibc, at least). For example, using the Spanish translation currently has the game internally set "es_ES", thus for Spanish Spanish. Since the Spanish don't use the twelve-hour clock anymore, the es_ES glibc locale doesn't provide any data whatsoever for "AM" and "PM", thus one who wishes to use Wesnoth's twelve-hour clock setting along with the Spanish translation will have nothing in "AM"/"PM"'s place; one will get "12:00" for "12:00 AM" or "12:00 PM". But since Spanish is spoken in many nations, some of which, such as Mexico, do still use the twelve-hour clock, thus it is a real problem. A similar problem can be observed with using the British English translation on a system using glibc (an older version of glibc from say... 2011, at least); for the longest time, glibc's maintainer has refused to allow data for "AM" and "PM" to enter the en_GB locale's data file, despite the fact that normal people in the UK still use the twelve-hour clock.

So, at the bare minimum (hopefully, I'm not missing anything), we need a way of providing translations for the following:

- Names of days
- Names of months
- Abbreviated names of days
- Abbreviated names of months
- "AM" and "PM"

Espreon <espreon>
Project Member


(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 shadowmaster (Posted a comment)
  • -unavailable- added by wedge009 (Posted a comment)
  • -unavailable- added by alarantalara (Posted a comment)
  • -unavailable- added by fendrin (Updated the item)
  • -unavailable- added by espreon (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 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 23 Sep 2015 06:24:35 PM UTCshadowmasterStatusPostponed=>Fixed
      Assigned tofendrin=>thunderstruck
    Sat 29 Dec 2012 11:24:57 PM UTCfendrinStatusNone=>Postponed
    Thu 13 Dec 2012 12:58:34 AM UTCfendrinSeverity3 - Normal=>2 - Minor
      Priority5 - Normal=>1 - Later
    Wed 31 Oct 2012 01:30:26 AM UTCfendrinAssigned toNone=>fendrin
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup