-
Notifications
You must be signed in to change notification settings - Fork 0
Home
tfitzgeraldca edited this page Jan 3, 2014
·
26 revisions
Polyglot is an ExpressionEngine add-on that enables developers to create sites for multiple languages and locales. It helps you manage the translation of your templates, localize date, time, number and currency formats.
This wiki is designed to help developers implement Polyglot in their Expression Engine build.
Both the wiki and the add-on itself are in development. Please check out our Roadmap to see where we're looking to take this.
Thank you, and please feel free to contribute to the issues log or write to me at @tfitzgee on Twitter. — Tim FitzGerald
===
- Installing Polyglot
- Configuring Polyglot Using the Control Panel
- Configuring Polyglot Using the Site's Config File: Feature does not yet exist but will in a future release.
- Installing ExpressionEngine's Language Packs
- Creating a Language Configuration File
- Creating a Glossary File
- {exp:polyglot} - Returns a translated string or "variable"
- {exp:polyglot:num} - Returns a formatted number or currency amount
- {exp:polyglot:date} - Returns a formatted date
- {exp:polyglot:time} - Returns a formatted time
- {exp:polyglot:datetime} - Returns a formatted date and time
- {exp:polyglot:languages} - Returns a loop of the configured languages available
- {exp:polyglot:path} - Returns a site URI with translated segments
- {exp:polyglot:detect_browser_lang} - Returns the configured language that best matches the languages the user's browser recommends using (negotiation)
- {polyglot:lang} - returns the current language tag
- {polyglot:dir} - returns whether the display should be left-to-right or right-to-left.
- [[{polyglot:segment_x}|polyglot:segment_x]] - returns the given segment before translation and the language segment is removed
- Creating a Global Splash Page
- Creating a Global Gateway Header
- Creating a Language Toggler
- Auto-redirecting to Negotiated Best-Matching Language Home Page
- General Tips
- Using Multiple Channel Fields for Multiple Languages
- Using Multiple Channel Entries for Multiple Languages
- Using Multiple Channels for Multiple Languages
- Using Polyglot with ExpressionEngine's Pages Module
- Using Polyglot with Structure
- Using Polyglot with Transcribe
- Using Polyglot with Publisher
- Using Polyglot with Republic Variables or Low Variables
- Using Polyglot with BabelText
- Using Polyglot with Multi Site Manager (MSM)
- Divided by a Common Language: One site with content for the United States (The Colonies/Land of the Free), and one for the United Kingdom (The Old Country/Mother Britannia).
- The Benelux Scenario: One site with versions for The Netherlands, Belgium-French, Belgium-Flemish, Luxembourg-French, Luxembourg-German, Luxembourg-Luxemburgish, and English.
===