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

Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

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

Submitted by:  Espreon <espreon>
Submitted on:  Sat Oct 27 16:08:56 2012  
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: *

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

Wed Sep 23 18:24:35 2015, comment #7:

Version 1.11.7's changelog:

See also commit 947a842badf43b9700f12d149844808b51c2c8e0.

Ignacio R. Morelle <shadowmaster>
Project Administrator
Wed Sep 23 05:54:01 2015, 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>
Project Member
Tue Sep 22 19:38:51 2015, 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 Sep 22 13:37:40 2015, 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>
Project Member
Wed Mar 13 21:58:28 2013, 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 Dec 10 00:39:27 2012, comment #2:

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

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

Perhaps Boost could help us:


Espreon <espreon>
Project Member
Sat Oct 27 16:08:56 2012, 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


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 Sep 23 18:24:35 2015shadowmasterStatusPostponed=>Fixed
      Assigned tofendrin=>thunderstruck
    Sat Dec 29 23:24:57 2012fendrinStatusNone=>Postponed
    Thu Dec 13 00:58:34 2012fendrinSeverity3 - Normal=>2 - Minor
      Priority5 - Normal=>1 - Later
    Wed Oct 31 01:30:26 2012fendrinAssigned toNone=>fendrin
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup