Wiki

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

Language Selector

Updated 12 months ago by Programmer ThailandTutorials1 comment – viewed 5,609 times – ( +1 ) – version 2.0
common\components\LanguageSelector.php
tags: i18n, language, select

YII2 : simple language Switcher Widget

Updated about a year ago by phunsanitTutorials0 comments – viewed 10,368 times – ( +1 ) – version 2.0
ภาษาไทย YII 2 Widget เปลี่ยนภาษา

Selecting best language based on Browser language and available languages.

Updated about a year ago by le_topTips0 comments – viewed 5,039 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 about a year ago by schmunkHow-tos1 comment – viewed 5,649 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 2 years ago by le_topHow-tos0 comments – viewed 3,975 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 years ago by le_topHow-tos0 comments – viewed 4,187 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 years ago by Rohit SutharHow-tos1 comment – viewed 20,514 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 years ago by Maug LeeTutorials0 comments – viewed 5,651 times – version 1.1
Example settings when using Gettext for i18n.

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

Updated 2 years ago by Kartik VHow-tos12 comments – viewed 92,787 times – ( +39 ) – 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 2 years ago by le_topTips0 comments – viewed 7,804 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.