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

YII2 : simple language Switcher Widget

Updated 7 months ago by phunsanitTutorials0 comments – viewed 4,516 times – version 2.0
ภาษาไทย YII 2 Widget เปลี่ยนภาษา

Selecting best language based on Browser language and available languages.

Updated 9 months ago by le_topTips0 comments – viewed 3,305 times – ( +2 ) – version 1.1
Your application is international and you have to select the best language for the user. Your user may have selected 'fr_CA' and you have 'fr_FR' or 'fr' available. What do you do? Here is a tip.

How to provide a fallback or mapping for translation messages?

Updated 10 months ago by schmunkHow-tos1 comment – viewed 4,658 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 10 months ago by le_topHow-tos0 comments – viewed 2,257 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 about a year ago by le_topHow-tos0 comments – viewed 2,928 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 about a year ago by Rohit SutharHow-tos1 comment – viewed 17,611 times – ( +5 ) – version 1.1
In your application configuration (protected/config/main.php), set the sourceLanguage parameter to English:

Gettext and Poedit HOWTO

Updated about a year ago by Maug LeeTutorials0 comments – viewed 3,294 times – version 1.1
Example settings when using Gettext for i18n.

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

Updated about a year ago by Kartik VHow-tos10 comments – viewed 44,302 times – ( +38 ) – 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 about a year ago by le_topTips0 comments – viewed 5,908 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 about a year ago by ElecenHow-tos3 comments – viewed 3,165 times – ( +3 / -1 ) – version 1.1
So, you need localised urls made simple that follow the Yii framework guidelines?
tags: i18n, Routing