Added multianguage plugin
This commit is contained in:
@@ -9,4 +9,10 @@ google_analytics: UA-119938781-2
|
|||||||
|
|
||||||
github:
|
github:
|
||||||
app_url: https://github.com/tom5079/Pupil-issue/releases/download/1.2/Pupil-v1.2.apk
|
app_url: https://github.com/tom5079/Pupil-issue/releases/download/1.2/Pupil-v1.2.apk
|
||||||
issue_url: https://github.com/tom5079/Pupil-issue/issues/new/choose
|
issue_url: https://github.com/tom5079/Pupil-issue/issues/new/choose
|
||||||
|
|
||||||
|
gems:
|
||||||
|
- jekyll-multiple-languages-plugin
|
||||||
|
|
||||||
|
languages: ["en", "ko", "ja"]
|
||||||
|
exclude_from_localizations: []
|
||||||
3
_i18n/en.yml
Normal file
3
_i18n/en.yml
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
header:
|
||||||
|
download_app: Download app
|
||||||
|
having_a_problem: Having a problem?
|
||||||
3
_i18n/ja.yml
Normal file
3
_i18n/ja.yml
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
header:
|
||||||
|
download_app: アプリダウンロード
|
||||||
|
having_a_problem: 問題がありますか?
|
||||||
3
_i18n/ko.yml
Normal file
3
_i18n/ko.yml
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
header:
|
||||||
|
download_app: 앱 다운로드
|
||||||
|
having_a_problem: 문제가 있으세요?
|
||||||
@@ -25,8 +25,8 @@
|
|||||||
<h1 class="project-name">{{ page.title | default: site.title | default: site.github.repository_name }}</h1>
|
<h1 class="project-name">{{ page.title | default: site.title | default: site.github.repository_name }}</h1>
|
||||||
<h2 class="project-tagline">{{ page.description | default: site.description | default: site.github.project_tagline }}</h2>
|
<h2 class="project-tagline">{{ page.description | default: site.description | default: site.github.project_tagline }}</h2>
|
||||||
{% if site.show_downloads %}
|
{% if site.show_downloads %}
|
||||||
<a href="{{ site.github.app_url }}" class="btn">Download app</a>
|
<a href="{{ site.github.app_url }}" class="btn">(% t header.download_app %}</a>
|
||||||
<a href="{{ site.github.issue_url }}" target="_blank" class="btn">Having a problem?</a>
|
<a href="{{ site.github.issue_url }}" target="_blank" class="btn">{% header.having_a_problem %}</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
|
|||||||
7
index.html
Normal file
7
index.html
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
layout: default
|
||||||
|
---
|
||||||
|
|
||||||
|
<div id="home">
|
||||||
|
<h1>Blog Posts</h1>
|
||||||
|
</div>
|
||||||
Reference in New Issue
Block a user