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
9c9ff871
Commit
9c9ff871
authored
Apr 30, 2014
by
Alexander Makarov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added docs about translation command
parent
3b29001e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
translations.md
docs/internals/translations.md
+14
-0
No files found.
docs/internals/translations.md
View file @
9c9ff871
...
...
@@ -27,3 +27,17 @@ In the translation file each array element represents the translation (value) of
the message is considered as not translated. Messages that no longer need translation will have their translations
enclosed between a pair of '@@' marks. Message string can be used with plural forms format. Check
[
i18n section
of the guide](../guide/i18n.md) for details.
Documentation
-------------
Put documentation translations under
`docs/<original>_<language>`
where
`<original>`
is the original documentation name
such as
`guide`
or
`internals`
and
`<language>`
is the language code of the language docs are translated to. For the
Russian guide translation it is
`docs/guide_ru`
.
After initial work is done you can get what's changed since last translation of the file using a special command from
`build`
directory:
```
build translation ../docs/guide" "../docs/guide_ru" --title="Russian guide translation report" > report_guide_ru.html
```
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