Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
imsamurai committed Nov 5, 2014
1 parent 4494851 commit 2482ae9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -35,10 +35,10 @@ Write global config if you need to change plugin config (see plugin bootstrap.ph
## Usage

Use `Localization` model for manage localization variables in DB.
Plugin works with `__*` style functions, also in javascript. Inline javascript are not supported (only *.js files).
Plugin works with `__*` style functions, also in javascript. Inline javascript are not supported (only \*.js files).
For php export from db will create/replace files in `app/Locale/*` and for js in `webroot/js/Locale/*` (you can change this in config, see bootstrap.php of the plugin).
Just open `example.com/localization` for edit/translate/export to db

For import/update all messages that used with `__*` functions (in php and js) use:

Console/cake Localization.messages extract --output db <other params from i18n shell>
Console/cake Localization.messages extract --output db <other params from i18n shell>

0 comments on commit 2482ae9

Please sign in to comment.