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
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Rotua Panjaitan
yii2
Commits
c4f7d024
Commit
c4f7d024
authored
Nov 29, 2013
by
Qiang Xue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
typo fix.
parent
a1f7f8bc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
i18n.md
docs/guide/i18n.md
+3
-4
No files found.
docs/guide/i18n.md
View file @
c4f7d024
...
...
@@ -47,7 +47,7 @@ translation of the message from source language into target language. Message it
echo
\Yii
::
t
(
'app'
,
'This is a string to translate!'
);
```
Yii tries to load approprite translation from one of the message sources defined via
`i18n`
component configuration:
Yii tries to load appropri
a
te translation from one of the message sources defined via
`i18n`
component configuration:
```
php
'components'
=>
[
...
...
@@ -239,7 +239,7 @@ you'll get "Inconsistent types declared for an argument: U_ARGUMENT_TYPE_MISMATC
Total {count, number} {count, plural, one{item} other{items}}.
```
To learn which inflection forms you should specify for your language you can referer to
To learn which inflection forms you should specify for your language you can refer
r
er to
[
rules reference at unicode.org
](
http://unicode.org/repos/cldr-tmp/trunk/diff/supplemental/language_plural_rules.html
)
.
### Selections
...
...
@@ -265,4 +265,4 @@ Formatters
In order to use formatters you need to install and enable
[
intl
](
http://www.php.net/manual/en/intro.intl.php
)
PHP
extension.
TBD: provided classes overview.
\ No newline at end of file
TBD: provided classes overview.
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