Articles tagged with "messages", sorted by ratingX
Displaying 1-3 of 3 result(s).

How to provide a fallback or mapping for translation messages?

Created 3 years ago by schmunkHow-tos1 comment – viewed 5,798 times – ( +5 ) – version 1.1
Sometimes you want to use exisiting translations for locales, which do not directly match. An example would be a website targeting Germany (de_de), Austria (de_at) and Switzerland (de_ch, fr_ch, it_ch). Although you may have exisiting translations for German (de), French (fr) and Italian (it), there are problems using it directly.

Entire Messages into javascript object

Created 4 years ago by markuxHow-tos0 comments – viewed 6,583 times – ( +2 ) – version 1.1
I needed all messages with their translation into javascript. This is my solution:

Themed translations (i18n)

Created 2 years ago by le_topHow-tos0 comments – viewed 4,380 times – ( +1 ) – version 1.1
When using themes you want to changes some of the translations specifically to the theme while keeping the standard translations for most of the text. Duplicating the main translation file is a headache for maintainance. This how to provides a solution.