Skip to content

cielito-lindo-productions/koken-multilanguage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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