Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
dd621958
Commit
dd621958
authored
Jan 13, 2014
by
Alexander Makarov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More specific description of language property of the application
parent
a5d5e804
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
i18n.md
docs/guide/i18n.md
+6
-2
No files found.
docs/guide/i18n.md
View file @
dd621958
...
...
@@ -36,8 +36,12 @@ Later you can easily change it in runtime:
\Yii
::
$app
->
language
=
'zh-CN'
;
```
> **Note**: please refer to [ICU documentation](http://userguide.icu-project.org/locale) in order to find out language
> and country codes for your case.
Format is
`ll-CC`
where
`ll`
is two- or three-letter lowercase code for a language according to
[
ISO-639
](
http://www.loc.gov/standards/iso639-2/
)
and
`CC`
is country code according to
[
ISO-3166
](
http://www.iso.org/iso/en/prods-services/iso3166ma/02iso-3166-code-lists/list-en1.html
)
.
> **Note**: you can further customize details specifying language
> [as documented in ICU project](http://userguide.icu-project.org/locale#TOC-The-Locale-Concept).
Basic message translation
-------------------------
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment