Wiki

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

Themed translations (i18n)

Updated a day ago by le_topHow-tos0 comments – viewed 355 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 4 days ago by Rohit SutharHow-tos1 comment – viewed 13,164 times – ( +5 ) – version 1.1
In your application configuration (protected/config/main.php), set the sourceLanguage parameter to English:

Gettext and Poedit HOWTO

Updated 8 days ago by Maug LeeTutorials0 comments – viewed 681 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 month ago by Kartik VHow-tos10 comments – viewed 7,748 times – ( +28 ) – 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.

How to translate and do the translations the easy way

Updated 2 months ago by Roman SolomatinHow-tos3 comments – viewed 47,088 times – ( +27 / -2 ) – version 1.1
I wanted to keep all the I18N related translations in separate files, so that I would not need to modify the view files or the model files every time I need to update or fix the translations of application's source language.
tags: i18n

Expert's model generation with Gii

Updated 4 months ago by le_topTips0 comments – viewed 3,282 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 5 months ago by ElecenHow-tos1 comment – viewed 1,751 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 6 months ago by Anas AbuDayahTips2 comments – viewed 1,563 times – ( +1 / -1 ) – version 1.1
This topic is related with langhandler extension

Simple example for language translation

Updated 7 months ago by CeBeHow-tos2 comments – viewed 8,728 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

How to provide a fallback or mapping for translation messages?

Updated about a year ago by schmunkHow-tos1 comment – viewed 3,535 times – ( +5 )
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.