Wiki

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

Themed translations (i18n)

Created 27 days ago by le_topHow-tos0 comments – viewed 1,308 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 about a month ago by Maug LeeTutorials0 comments – viewed 1,045 times – version 1.1
Example settings when using Gettext for i18n.

Expert's model generation with Gii

Created 5 months ago by le_topTips0 comments – viewed 3,506 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 5 months ago by ElecenHow-tos2 comments – viewed 1,872 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 7 months ago by Anas AbuDayahTips2 comments – viewed 1,714 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 7 months ago by Kartik VHow-tos10 comments – viewed 9,594 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.

Simple example for language translation

Created 9 months ago by RKAHow-tos2 comments – viewed 9,527 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 13,624 times – ( +5 ) – version 1.1
In your application configuration (protected/config/main.php), set the sourceLanguage parameter to English:

How to provide a fallback or mapping for translation messages?

Created about a year ago by schmunkHow-tos1 comment – viewed 3,612 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.

Entire Messages into javascript object

Created 2 years ago by markuxHow-tos0 comments – viewed 4,734 times – ( +2 ) – version 1.1
I needed all messages with their translation into javascript. This is my solution: