Skip to content

Commit

Permalink
update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Seb committed Sep 13, 2017
1 parent 89609e4 commit a1df679
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Overview
========

This Symfony2 bundle allows you to:
This Symfony bundle allows you to:

* import translation files content into the database and provide a GUI to edit translations.
* export translations from the database into files.
Expand Down
8 changes: 4 additions & 4 deletions Resources/doc/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ $bundles = array(

Then install the required assets:

./app/console assets:install
./bin/console assets:install

___________________

Expand Down Expand Up @@ -147,7 +147,7 @@ lexik_translation:

If you use Doctrine ORM, you have to update your database:

./app/console doctrine:schema:update --force
./bin/console doctrine:schema:update --force

#### Routing

Expand Down Expand Up @@ -176,7 +176,7 @@ Import translations

To import translations files content into your database just run the following command:

./app/console lexik:translations:import [bundleName] [--cache-clear] [--force] [--globals]
./bin/console lexik:translations:import [bundleName] [--cache-clear] [--force] [--globals]

This command will import all application and bundles translations files according to the `managed_locales` defined in configuration (it will also load tanslations from SF conponents).

Expand All @@ -199,7 +199,7 @@ Export translations

To export translations from the database into files, run the following command:

./app/console lexik:translations:export [--locales=en,de] [--domains=messages,validators] [--format=yml] [--case-insensitive]
./bin/console lexik:translations:export [--locales=en,de] [--domains=messages,validators] [--format=yml] [--case-insensitive]

This command will export all translations from the database into files. A translation is exported in the same file (and format) it was imported in,
except for vendors files which are exported in `app/Resources/translations/` and in this case the command will only export translations that have changed.
Expand Down

0 comments on commit a1df679

Please sign in to comment.