Wiki

Articles tagged with "i18n", sorted by commentsX
Displaying 11-20 of 27 result(s).

Using International Dates

Created 6 years ago by Russell EnglandHow-tos4 comments – viewed 39,725 times – ( +18 / -1 ) – version 1.1
I needed British (dd/mm/yyyy) formatted dates throughout my application but found it very difficult to find examples of how to do this - until I found this excellent forum post http://www.yiiframework.com/forum/index.php?/topic/3649-dealing-with-i18n-date-formats/

How to extend CFormatter, add i18n support to booleanFormat and use it in CDetailView

Created 6 years ago by c@cbaHow-tos3 comments – viewed 13,463 times – ( +9 / -1 ) – version 1.1
As you know, the CDetailView widget displays details of a single model. If no formatting is specified, boolean values that are stored in the database as 0 and 1, are represented in the detail view as 0 and 1. If formatted as boolean, they are represented as 'No' and 'Yes'. We want to add i18n support, so that Yes and No appear in the current language.

I18n / localised routes in Yii

Created 3 years ago by ElecenHow-tos3 comments – viewed 5,989 times – ( +3 / -2 ) – version 1.1
So, you need localised urls made simple that follow the Yii framework guidelines?
tags: i18n, Routing

Simple example for language translation

Created 3 years ago by RKAHow-tos2 comments – viewed 23,463 times – ( +1 / -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

Create URL to language switcher anchor with langhandler

Created 3 years ago by Anas AbuDayahTips2 comments – viewed 5,317 times – ( +1 / -2 ) – version 1.1
This topic is related with langhandler extension

YII2 : simple language Switcher Widget

Created 2 years ago by phunsanitTutorials1 comment – viewed 14,758 times – ( +2 / -1 ) – version 2.0
ภาษาไทย YII 2 Widget เปลี่ยนภาษา

Multilanguage and SEO friendly

Created 4 years ago by InterboyHow-tos1 comment – viewed 22,628 times – ( +5 / -1 ) – version 1.1
In your application configuration (protected/config/main.php), set the sourceLanguage parameter to English:

Language Selector

Created 2 years ago by Programmer ThailandTutorials1 comment – viewed 7,375 times – ( +1 / -1 ) – version 2.0
common\components\LanguageSelector.php
tags: i18n, language, select

How to provide a fallback or mapping for translation messages?

Created 4 years ago by schmunkHow-tos1 comment – viewed 6,544 times – ( +5 / -1 ) – 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.

Gettext and Poedit HOWTO

Created 3 years ago by Maug LeeTutorials0 comments – viewed 7,272 times – ( -1 ) – version 1.1
Example settings when using Gettext for i18n.