Multi-language translate module for Silverstripe, without having to manage separate site trees.
Clone or download
robbieaverill Merge pull request #464 from silverstripe-terraformers/enhancement/te…
…sts-to-use-withstate

ENHANCEMENT: Update unit tests to use withState where appropriate. Resolves #462
Latest commit b84882c Sep 14, 2018
Permalink
Failed to load latest commit information.
.tx Add Transifex configuration and note to readme Aug 14, 2018
_config Add config setting for CMS publish required. Jul 19, 2018
client Keep locale options visible in dropdown when cms-menu is collapsed Apr 10, 2018
docs Merge pull request #397 from silverstripe-terraformers/pulls/scenario… Apr 19, 2018
lang Update translations Aug 15, 2018
src Merge pull request #445 from silverstripe-terraformers/feature/cms-pu… Sep 10, 2018
templates Update GoogleSitemapController_sitemap.ss Mar 22, 2018
tests/php ENHANCEMENT: Update unit tests to use withState where appropriate. Sep 13, 2018
.codecov.yml Add codecov configuration to prevent comments on pull requests Aug 9, 2017
.editorconfig Scorched earth! Clean slate for new major version Jul 21, 2017
.eslintrc.js API Change SUFFIX_* constants to include the underscore prefix Nov 10, 2017
.gitattributes Added standard git attributes Nov 19, 2015
.gitignore Add gitignore including node_modules Aug 13, 2017
.scrutinizer.yml Update scrutinizer build Oct 31, 2017
.travis.yml Use 4.x recipes where possible Jun 20, 2018
CHANGELOG.md 3.3.0 changelog Nov 6, 2015
CODE_OF_CONDUCT.md Update code of conduct May 13, 2017
CONTRIBUTING.md Update CONTRIBUTING.md Feb 16, 2016
_config.php ENHANCEMENT Allow frontend publish filter to be disabled via yml Apr 22, 2018
codecov.yml Rename codecov YAML configuration Aug 20, 2017
composer.json Update branch alias for 4.2.x-dev May 8, 2018
license.md Updated license year Dec 31, 2015
package.json API Change SUFFIX_* constants to include the underscore prefix Nov 10, 2017
phpcs.xml.dist Add Travis configuration, phpcs and phpunit configuration, new build … Aug 8, 2017
phpunit.xml.dist FIX Bootstrap path in phpunit.xml Oct 12, 2017
readme.md Merge branch '4.1' Aug 14, 2018
webpack.config.js Add frontend build tools for client assets Jul 28, 2017
yarn.lock API Change SUFFIX_* constants to include the underscore prefix Nov 10, 2017

readme.md

Fluent

Build Status Scrutinizer Code Quality codecov SilverStripe supported module

Simple Silverstripe Localisation

This module allows websites to manage localisation of content, and navigation between localisations, in a similar fashion to Translatable or Multilingual.

Locales are distinguished by a url prefix, that of the selected locale, at the start of all page links. E.g. http://damian.geek.nz/en_NZ/about-me would be the NZ English version of a page. This could be localised into Maori at http://damian.geek.nz/mi_NZ/about-me

Fluent also integrates nicely with Google Sitemaps module, linking localisations for each page as per Google's internationalisation guidelines

Fluent also supports the use of multiple domains to assist in locale filtering (e.g. a .com for English, and a .cn for Chinese).

Back end control is provided by a simple CMS filter.

Locale Menu

Also, please report any issues you may encounter, as it helps us all out!

Credits and Authors

Requirements

  • SilverStripe 4.0.0 or above
  • PHP 5.6 or above

Documentation

Translations

The translations for this project are managed via Transifex and are updated automatically during the release process. To contribute, please head to the link above and get translating!

License

Revised BSD License

Copyright (c) 2018, Damian Mooyman

All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  • The name of Damian Mooyman may not be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.