Skip to content
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

About Polyglot

===

Set Up

Language Configuration

Tag Reference

Early-Parsed Variables

  • {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

Techniques

Structuring Your Content

Other Add-On Compatibility

Use Cases

  • 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.

===

Credits

License

Changelog

Roadmap