forked from cbryer/Translatable-Domains
-
Notifications
You must be signed in to change notification settings - Fork 0
Silverstripe Module that forces one top-level-domain to show one locale.
License
derRobert/Translatable-Domains
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
## Translatable-Domains ## Introduction Allows developer to specify which what language a domain should use and will force urls to use the translated records whenever possible. Also allows developer to register multiple virtualhosts to test multilingual domains locally. ## Requirements * SilverStripe 3.1 or newer, ## Installation * Copy the `Translatable-Domains` directory into your main SilverStripe webroot * Insert in your config eg mysite/_config/mysite.yml TranslatableDomains: domain_locale_map: mysite.de: de_DE mysite.com: en_GB mysite.nl: nl_NL * replace tld with the top level domain you wish to force to a specific locale (mysite.com, mysite.fr, anotheriste.co.uk, etc) * replace locale with the locale you wish the top level domain to use. * run /dev/build ## Testing multilingual sites on localhost: testing multilingual sites on localhost is possible through setting up multiple virtual hosts. for quick instructions, read localhost-setup-readme
About
Silverstripe Module that forces one top-level-domain to show one locale.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- PHP 100.0%