Wiki

Articles tagged with "i18n"X
Displaying 11-16 of 16 result(s).

Using International Dates

Created 2 years ago by Russell EnglandHow-tos3 comments – viewed 19,895 times – ( +16 )
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/

i18n for your model in just 1 line

Created 3 years ago by mintaoTutorials0 comments – viewed 8,662 times – ( +12 )
A simple trick to get the localized version of a model field is to add this little method to your models.
tags: i18n

I18n subdomains and url-rules

Created 3 years ago by Y!!Tutorials5 comments – viewed 16,104 times – ( +7 )
This guide is for more or less advanced users. If you just started with Yii or didn't worked with any web-framework before, you may should come back later :-)
tags: i18n, URL

Setting and maintaining the language in Application (i18n)

Created 4 years ago by olafureTutorials9 comments – viewed 49,685 times – ( +19 )
As seen in this post, Yii doesn't enforce how language is set and maintained within the session.
tags: i18n, translation

How to customize Yii core messages?

Created 4 years ago by qiangTutorials6 comments – viewed 28,764 times – ( +14 )
Yii core messages refer to static text strings in the core Yii framework code which are meant to be displayed to end-users (e.g. core exception messages, default validation error messages). Customization of these core messages is needed in two circumstances:

How to set up Unicode

Created 4 years ago by MikeHow-tos9 comments – viewed 37,548 times – ( +16 )
To fix issues with display of special language characters once and for all there's a solution: use Unicode UTF-8 everywhere. If everything is set up to use Unicode, you can use mostly every language in your application.
tags: i18n, unicode