Awesome
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
-
Place the t.rb file in your _plugins directory.
-
Set an environment variable in your .bashrc or .zshrc:
export JLANG="en"
-
Alternatively specify the locale in your _config.yml:
locale: "en"