Skip to content

hendricius/jekyll-i18n

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Jekyll I18n support

Adds easy internationalisation support to your jekyll. Allows you to use a view helper to translate keys. Store the keys in yml files.

// index.html
<span>{% this_is_awesome %}</span>

// _locales/en.yml
this_is_awesome: Pure awesomeness.

Instructions

  1. Place the t.rb file in your _plugins directory.

  2. Set an environment variable in your .bashrc or .zshrc:

     export JLANG="en"
    
  3. Alternatively specify the locale in your _config.yml:

     locale: "en"
    

About

I18n support for your jekyll installation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages