Created
April 24, 2016 10:39
-
-
Save faloude/df1d056036c0bdbe9557916fbc8acc35 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
Name: fluentconfig | |
--- | |
Fluent: | |
# Don't forget to set i18n->default_locale too! | |
default_locale: en_NZ | |
locales: [] | |
# Add your locales as necessary | |
# - en_NZ | |
# - fr_FR | |
# - zh_CN | |
# - es_ES | |
aliases: [] | |
# Set aliases for each locale url as necessary | |
# en_NZ: 'en' | |
# fr_FR: 'fr' | |
# zh_CN: 'cn' | |
# es_ES: 'es' | |
# Filter in(or out) field names to translate | |
field_include: [] | |
field_exclude: | |
- 'Theme' | |
- '/^LocaleFilter_/i' | |
- 'Priority' | |
# Filter in(or out) data types to translate | |
data_include: | |
- 'Text' | |
- 'Varchar' | |
- 'HTMLText' | |
- 'HTMLVarchar' | |
# Allow has_one items to be translated | |
#- 'ForeignKey' | |
data_exclude: | |
- 'Varchar(2083)' | |
search_adapters: | |
MySQLDatabase: FluentMySQLSearch | |
# Determine if the locale should be remembered across multiple sessions via cookies. If this is left on then | |
# visitors to the home page will be redirected to the locale they last viewed. This may interefere with some | |
# applications and can be turned off to prevent unexpected redirects. | |
remember_locale: false | |
# ID to persist the locale in cookies / session in the front end | |
persist_id: 'FluentLocale' | |
# ID to persist the locale in cookies / session in the CMS | |
persist_id_cms: 'FluentLocale_CMS' | |
# Request parameter to store the locale in. Used for some Controllers | |
query_param: 'l' | |
# Determine if the site should detect the browser locale for new users. | |
# Turn this off to disable 302 redirects on the home page | |
detect_locale: false | |
# Forces the module to act in domain mode | |
force_domain: false | |
# List of locale specific domains configured for this site | |
domains: [] | |
# www.example.com.au: | |
# locales: | |
# - en_AU | |
# - en_US | |
# default_locale: en_AU | |
# www.example.co.nz: | |
# locales: | |
# - en_NZ | |
--- | |
Name: fluenti18nconfig | |
--- | |
i18n: | |
default_locale: en_NZ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment