Add multilanguage support to your koken page
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets fix html comment syntax, adapt translation.json Oct 11, 2017
LICENSE
README.md
plugin.json fix text Feb 26, 2018
plugin.php fix suffix (koken also uses {{}} in php-code Oct 20, 2017

README.md

MultiLanguage for Koken

This Koken plugin allows you to quickly and easily integrate several languages into your page.

Requirements

  1. Koken installation (0.2.0 or higher)

Demonstration

See Cielito Lindo Productions for a demonstration of the plugin

Installation

  1. Upload the koken-multilanguage folder to your Koken installation's storage/plugins directory.

  2. Sign in to Koken, then visit the Settings > Plugins page to activate the plugin.

  3. If necessary you can set a fallback language. If none is selected then english will be used.

  4. Add in your template a language selector with eg.

<a href='./?lng=en'>en</a>&nbsp;|&nbsp;<a href='./?lng=de'>de</a>
  1. Open the Developer Console of your browser und copy the missing strings that show up into your translation files on your webspace.

  2. Translate the strings into the desired languages.

  3. Once finished enable translation caching via the plugin settings. This loads translations faster but also makes them more reliable for your page visitors.

Further information

If you want to get some further information about this plugin please read this blog post

Changelog

1.1 - Implement browser language detection and translation caching

1.0 - Initial release