Skip to content

Commit

Permalink
Merge pull request #68 from dbu/patch-1
Browse files Browse the repository at this point in the history
document prefix translation
  • Loading branch information
boekkooi committed Apr 18, 2016
2 parents 68e9734 + e6a123e commit e2f8b8e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Expand Up @@ -45,11 +45,17 @@ routing file by using the ``be_simple_i18n`` type:
my_yaml_i18n_routes:
resource: "@MyWebsiteBundle/Resources/config/routing/i18n.yml"
type: be_simple_i18n
prefix:
en: /website
fr: /site
de: /webseite
my_xml_i18n_routes:
resource: "@MyWebsiteBundle/Resources/config/routing/i18n.xml"
type: be_simple_i18n
```

You can optionally specify a prefix or translated prefixes as shown above.

### Yaml routing file

```yaml
Expand Down

0 comments on commit e2f8b8e

Please sign in to comment.