Wiki articles tagged with "language"

Showing 1-3 of 3 items.

Getting information from the current locale

Created 6 years ago by CeBe CeBe, updated 6 years ago by CeBe 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](https://www.yiiframework.com/doc/api/2.0/yii-widgets-maskedinp...

5 0
2 followers
Viewed: 22 916 times
Version: 2.0
Category: How-tos

Language Selector

Created 9 years ago by Programmer Thailand Programmer Thailand, updated 9 years ago by Programmer Thailand Programmer Thailand.

common\components\LanguageSelector.php

<?php
namespace common\components;

2 0
6 followers
Viewed: 18 219 times
Version: 2.0
Category: Tutorials

YII2 : simple language Switcher Widget

Created 10 years ago by phunsanit phunsanit, updated 10 years ago by phunsanit phunsanit.
  1. create file common\components\languageSwitcher.php
1 0
5 followers
Viewed: 32 589 times
Version: 2.0
Category: Tutorials