• Stars
    star
    115
  • Rank 305,916 (Top 7 %)
  • Language
    Ruby
  • License
    MIT License
  • Created about 9 years ago
  • Updated over 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Jekyll 3.0-compatible multi-language plugin for posts, pages and includes

Jekyll Language Plugin Gem Version

Jekyll 3.0-compatible multi-language plugin for posts, pages and includes

Jekll Language Plugin

Jekyll Language Plugin is an internationalization plugin for Jekyll. It diversifies pages, posts and includes that have been optimized for the use with this plugin into different languages which are organized into subdirectories named after the language name.

This plugin has been developed with user-simplicity in mind. It does not require a complex setup process unlike some other internationalization plugins.

Features

  • Translates pages and posts into multiple languages
  • Supports all template languages that your Liquid pipeline supports.
  • Uses liquid tags in your HTML for including translated strings and language-specific includes.
  • Supports localized dates via liquid filter
  • Supports localized URLs
  • Works with jekyll serve --watch
  • Supports includes translated into multiple languages
  • Includes language and date translations for 82 languages

Installation

This plugin is available as a RubyGem.

Add this line to your application's Gemfile:

gem 'jekyll-language-plugin'

And then execute the bundle command to install the gem.

Alternatively, you can also manually install the gem using the following command:

$ gem install jekyll-language-plugin

After the plugin has been installed successfully, add the following lines to your _config.yml in order to tell Jekyll to use the plugin:

gems:
- jekyll-language-plugin

Getting Started

The repository's wiki contains detailed information on how to get started using the plugin.

Example Site

This repository contains a ready-to-use example site using this plugin in the example subdirectory. Check it out and run bundle install followed by bundle exec jekyll build to build the site.

Contribute

Fork this repository, make your changes and then issue a pull request. If you find bugs or have new ideas that you do not want to implement yourself, file a bug report.

Copyright

Copyright (c) 2015 Vincent Wochnik.

License: MIT