Wiki

Articles tagged with "i18n"X
Displaying 1-10 of 25 result(s).

Selecting best language based on Browser language and available languages.

Created about a month ago by le_topTips0 comments – viewed 1,869 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.

CJuiDatePicker extended for more/better language support

Created 2 months ago by le_topHow-tos0 comments – viewed 1,320 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)

Created 4 months ago by le_topHow-tos0 comments – viewed 2,110 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.

Gettext and Poedit HOWTO

Created 4 months ago by Maug LeeTutorials0 comments – viewed 1,821 times – version 1.1
Example settings when using Gettext for i18n.

Expert's model generation with Gii

Created 8 months ago by le_topTips0 comments – viewed 4,432 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

Created 9 months ago by ElecenHow-tos3 comments – viewed 2,334 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

Created 10 months ago by Anas AbuDayahTips2 comments – viewed 2,174 times – ( +1 / -1 ) – version 1.1
This topic is related with langhandler extension

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

Created 10 months ago by Kartik VHow-tos10 comments – viewed 17,110 times – ( +36 ) – 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.

Simple example for language translation

Created about a year ago by RKAHow-tos2 comments – viewed 11,769 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

Multilanguage and SEO friendly

Created about a year ago by InterboyHow-tos1 comment – viewed 15,115 times – ( +5 ) – version 1.1
In your application configuration (protected/config/main.php), set the sourceLanguage parameter to English: