Updated screenshots, added note about UTF8 urls
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 47 KiB |
Before Width: | Height: | Size: 5.5 KiB After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 78 KiB After Width: | Height: | Size: 64 KiB |
BIN
docs/en/_images/translatable5.png
Normal file
After Width: | Height: | Size: 100 KiB |
@ -12,10 +12,6 @@ with minimal interference.
|
||||
Warning: If you're upgrading from a SilverStripe version prior to 2.3.2, please migrate your datamodel before using the
|
||||
extension (see below).
|
||||
|
||||
## Requirements
|
||||
|
||||
*SilverStripe 2.3.2*
|
||||
|
||||
## Screenshots
|
||||
|
||||
![](_images/translatable4_small.png)
|
||||
@ -141,9 +137,12 @@ through set_reading_locale(). Get the translated parent first.
|
||||
$germanParent = $englishParent->getTranslation('de_DE');
|
||||
$germanParent->Children();
|
||||
|
||||
By default, the URLs generated for a page can only contain western characters ("ASCII").
|
||||
You can configure this to accept the whole range of UTF8 characters as well.
|
||||
This is a SilverStripe core feature, rather than anything specific to this module.
|
||||
Add the following to your `mysite/_config.php`:
|
||||
|
||||
|
||||
|
||||
URLSegmentFilter::$default_allow_multibyte = true;
|
||||
|
||||
### Translating custom properties
|
||||
|
||||
|