Project

General

Profile

How can I change the Locale in WCalendar the weeks titles?

Added by Everton Fonseca over 6 years ago

Wim can u help me?


Replies (2)

RE: How can I change the Locale in WCalendar the weeks titles? - Added by Wim Dumon over 6 years ago

The documentation is a bit lacking at that point. If you have to provide translations for the built-in Wt strings, there are a few xml files that you should look at. In Wt's source, there's a wt.xml, and an auth_strings.xml file, which contains all the english texts for which you need to offer the translations.

Some contents of this file:

  <message id="Wt.WDate.3.Mon">Mon</message>
  <message id="Wt.WDate.3.Tue">Tue</message>
  <message id="Wt.WDate.3.Wed">Wed</message>
  <message id="Wt.WDate.3.Thu">Thu</message>
  <message id="Wt.WDate.3.Fri">Fri</message>
  <message id="Wt.WDate.3.Sat">Sat</message>
  <message id="Wt.WDate.3.Sun">Sun</message>

Best regards,

Wim.

    (1-2/2)