Revision #12 has been created by JQL on Dec 5, 2023, 6:30:03 PM with the memo:
Github update
« previous (#11) next (#13) »
Changes
Title
unchanged
How to add a DropDown Language Picker (i18n) to the Menu
Category
unchanged
How-tos
Yii version
unchanged
2.0
Tags
unchanged
i18n,AJAX,bootstrap,internationalization,bootstrap menu
Content
changed
[...]
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.
The Github repository also contains the language flags, some country flags, a list of languages codes and their language names and a list of the languages Yii recognises "out of the box". A video will be posted on YouTube soon.
[i18ntutorial on Github](https://github.com/JQL/i18ntutorial)
---
Ensure that your system is set up to use i18n. From the Yii2 Manual:[...]
For further reading and information see:
[i18ntutorial on Github](https://github.com/JQL/i18ntutorial)
[Yii2 Internationalization Tutorial](https://www.yiiframework.com/doc/guide/2.0/en/tutorial-i18n)
[PHP intl extensions](https://www.php.net/manual/en/intro.intl.php)
---[...]