Wiki

Articles tagged with "i18n", sorted by date (updated)X
Displaying 1-10 of 24 result(s).

How to provide a fallback or mapping for translation messages?

Updated 10 days ago by schmunkHow-tos1 comment – viewed 3,778 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.

CJuiDatePicker extended for more/better language support

Updated 12 days ago by le_topHow-tos0 comments – viewed 871 times – ( +1 ) – version 1.1
The number of languages supported by the standard CJuiDatePicker implementation is limited and the language code to use is different from the application's language code. This Wiki shows how to improve on that.

Themed translations (i18n)

Updated 2 months ago by le_topHow-tos0 comments – viewed 1,786 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.

Multilanguage and SEO friendly

Updated 2 months ago by Rohit SutharHow-tos1 comment – viewed 14,305 times – ( +5 ) – version 1.1
In your application configuration (protected/config/main.php), set the sourceLanguage parameter to English:

Gettext and Poedit HOWTO

Updated 2 months ago by Maug LeeTutorials0 comments – viewed 1,442 times – version 1.1
Example settings when using Gettext for i18n.

Save and Display Date/Time Fields in different formats in Yii2

Updated 3 months ago by Kartik VHow-tos10 comments – viewed 12,446 times – ( +30 ) – version 2.0
You would find having such a need in most Yii Projects. Your database needs a specific format to store date fields, while you may want to display it in different formats to the users on forms and other views.

Expert's model generation with Gii

Updated 6 months ago by le_topTips0 comments – viewed 3,922 times – ( +3 ) – version 1.1
Efficient coding with Yii implies efficient use of the code generator. This article shares the personalised Gii templates that were built starting from the standard templates proposed by AweGen.

I18n / localised routes in Yii

Updated 7 months ago by ElecenHow-tos2 comments – viewed 2,067 times – ( +3 / -1 ) – version 1.1
So, you need localised urls made simple that follow the Yii framework guidelines?
tags: i18n, Routing

Create URL to language switcher anchor with langhandler

Updated 8 months ago by Anas AbuDayahTips2 comments – viewed 1,924 times – ( +1 / -1 ) – version 1.1
This topic is related with langhandler extension

Simple example for language translation

Updated 9 months ago by CeBeHow-tos2 comments – viewed 10,487 times – ( +1 ) – version 1.1
Language translation is a common requirement in multi lingual sites. In Yii, we can translate using message and view translation.
tags: yii, i18n