Wiki articles in category How-tos tagged with "i18n"

Showing 1-3 of 3 items.

Getting information from the current locale

Created 5 years ago by CeBe, updated 5 years ago by CeBe.

Yii 2.0 comes with a formatter component to format dates, numbers, and other values for international users according to their locale. This is very useful for displaying data. When working with incoming data or when using enhanced input methods like the [MaskedInput widget](

5 0
Viewed: 20 830 times
Version: 2.0
Category: How-tos

How to add a DropDown Language Picker (i18n) to the Menu

Created 6 months ago by JQL, updated 5 months ago by JQL.

Yii comes with internationalisation (i18n) "out of the box". There are instructions in the manual as to how to configure Yii to use i18n, but little information all in one place on how to fully integrate it into the bootstrap menu. This document attempts to remedy that.

1 0
1 follower
Viewed: 58 528 times
Version: 2.0
Category: How-tos

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

Created 10 years ago by Kartik V, updated 9 years ago by Kartik V.

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.

0 0
Viewed: 175 840 times
Version: 2.0
Category: How-tos