Skip to content

Commit

Permalink
Add initial i18n for Georgian language. Requires corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
vakho10 committed Jan 28, 2025
1 parent 1e0e75a commit ca9415c
Show file tree
Hide file tree
Showing 41 changed files with 1,119 additions and 103 deletions.
2 changes: 2 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ github_url: https://github.com/vakho10/refute-jw
show_excerpts: true
excerpt_separator: <!--more-->

exclude: [ 'README.md', 'Gemfile.lock', 'Gemfile', 'package.json', 'package-lock.json' ]

plugins:
- jekyll-feed
- jekyll-seo-tag
14 changes: 14 additions & 0 deletions _data/en.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
read-more: "Read more"
see-all-posts: "See All Posts"
categories: "Categories"
header:
title: "Refuting Jehovah's Witnesses"
nav:
8-points: "8 Points to Challenge"
history-of-jw: "History of JW"
other-posts: "Other Posts"
change-lang: "Change Language"
jumbotron:
title: "Unveiling The Truth: Refuting Jehovah's Witnesses"
text: "Explore biblical evidence and theological insights that challenge the teachings of Jehovah's Witnesses. See where the cult started and how it digressed into what it is now. Equip yourself with a clear, solid arguments to understand and defend the true Christian faith."
brief-info: "Jehovah's Witnesses are a Christian cult founded in the 1870s in the United States, known for their distinct beliefs and practices. They emphasize the use of God's name as \"Jehovah,\" reject the Trinity doctrine, and believe in a literal 144,000 who will go to heaven while others live eternally on a paradise Earth. They are known for their door-to-door evangelism and refusal of certain societal norms, such as military service, blood transfusions, and celebration of holidays."
14 changes: 14 additions & 0 deletions _data/ka.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
read-more: "მეტის წაკითხვა"
see-all-posts: "ყველა პოსტის ნახვა"
categories: "კატეგორიები"
header:
title: "იეჰოვას მოწმეებიის გამტყუნება"
nav:
8-points: "8 სადავო საკითხი"
history-of-jw: "JW-ს ისტორია"
other-posts: "სხვა პოსტები"
change-lang: "ენის შეცვლა"
jumbotron:
title: "ჭეშმარიტების გამჟღავნება: იეჰოვას მოწმეების გამტყუნება"
text: "გამოიკვლიეთ ბიბლიური მტკიცებულებები და თეოლოგიური შეხედულებები, რომლებიც ეჭვქვეშ აყენებენ იეჰოვას მოწმეების სწავლებებს. ნახეთ, საიდან დაიწყო მათი კულტი და როგორ გადაიზარდა იმაში რაც ახლაა. აღიჭურვე ზუსტი და მყარი არგუმენტებით რათა გაიგო და დაიცვა ჭეშმარიტი ქრისტეანული რწმენა."
brief-info: "\"იეჰოვას მოწმეები\" ეწოდება ქრისტიანულ კულტს, რომელიც დაარსდა 1870-იან წლებში, შეერთებულ შტატებში. იგი ცნობილია თავისი განსხვავებული რწმენითა და პრაქტიკით. კულტის წევრები ხაზს უსვამენ ღვთის სახელის - „იეჰოვას“ გამოყენებას, უარყოფენ სამების დოქტრინას და სჯერათ მხოლოდ 144 000 ადამიანის, რომელიც მოხვდება სამოთხეში, ხოლო სხვები მარადიულად იცხოვრებენ სამოთხისებრ დედამიწაზე. ისინი ცნობილი არიან კარდაკარ ევანგელიზმითა და გარკვეული სოციალური ნორმების უარყოფით, როგორიცაა სამხედრო სამსახური, სისხლის გადასხმა და დღესასწაულების აღნიშვნა."
23 changes: 23 additions & 0 deletions _includes/8-points.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<div class="container-fluid bg-body-tertiary shadow-sm text-center p-3 mb-4">
<h1 class="m-0 text-center">
{{ site.data[page.lang].header.nav.8-points }}
</h1>
</div>
<div class="container">
<div class="row row-cols-1 row-cols-lg-2 g-3">
{% assign sorted_posts = site.categories.points | where: "lang", page.lang | sort: 'order' %}
{% for post in sorted_posts %}
<div class="col">
<div class="card border-light-subtle bg-transparent p-3 shadow-sm">
<div class="card-body p-0">
<h3 class="card-title">{{ forloop.index }}. {{ post.title }}</h3>
{{ post.excerpt }}
<a href="{{ post.url | relative_url }}" class="card-link">
{{ site.data[page.lang].read-more }} &raquo;
</a>
</div>
</div>
</div>
{% endfor %}
</div>
</div>
9 changes: 2 additions & 7 deletions _includes/brief-cult-info.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
<div class="container my-4">
<p class="mb-0">Jehovah's Witnesses are a Christian cult
founded in the 1870s in the United States, known for
their distinct beliefs and practices. They emphasize the use of God's name as "Jehovah," reject the
Trinity doctrine, and believe in a literal 144,000 who will go to heaven while others live eternally on
a paradise Earth. They are known for their door-to-door evangelism and refusal of certain societal
norms, such as military service, blood transfusions, and celebration of holidays. Read more about
<a href="{{ '/history' | relative_url }}">the history of Jehovah's Witnesses</a>.
<p class="mb-0">
{{ site.data[page.lang].brief-info }}
</p>
</div>
2 changes: 1 addition & 1 deletion _includes/footer.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<footer class="footer text-body-secondary bg-dark mt-5 py-3" data-bs-theme="dark">
<div class="container d-flex justify-content-center align-content-center gap-3">
<p class="mb-0">
&copy; {{ 'now' | date: '%Y' }} | {{ site.title }}
&copy; {{ 'now' | date: '%Y' }} | {{ site.data[page.lang].header.title }}
</p>
<a href="{{ site.github_url }}" target="_blank"
title="{{ site.github_url | escape }}">
Expand Down
4 changes: 4 additions & 0 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
{%- seo -%}

<!-- Language font for Georgian (BPG Arial and BPG Arial Caps) -->
<link rel="stylesheet" href="//cdn.web-fonts.ge/fonts/bpg-arial/css/bpg-arial.min.css">
<link rel="stylesheet" href="//cdn.web-fonts.ge/fonts/bpg-arial-caps/css/bpg-arial-caps.min.css">

<!-- Favicon -->
<link rel="icon" type="image/png" href="{{ '/assets/image/logo.png' | relative_url }}">

Expand Down
36 changes: 29 additions & 7 deletions _includes/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
{%- assign titles_size = site.pages | map: 'title' | join: '' | size -%}
<nav class="navbar navbar-expand-lg bg-dark" data-bs-theme="dark">
<div class="container">
<a class="navbar-brand d-flex align-items-center" href="{{ '/' | relative_url }}">
<a class="navbar-brand d-flex align-items-center" href="{{ '/' | append: page.lang | relative_url }}">
<i class="fs-2 fa-solid fa-cross me-2" style="text-shadow: 0 0 1rem #ffff00;"></i>
Refuting Jehovah's Witnesses
<b>{{ site.data[page.lang].header.title }}</b>
</a>
{%- if titles_size > 0 -%}
<button class="navbar-toggler" type="button" data-bs-toggle="collapse"
Expand All @@ -19,29 +19,51 @@
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown"
aria-expanded="false">
8 Points to Challenge
{{ site.data[page.lang].header.nav.8-points }}
</a>
<ul class="dropdown-menu">
{% assign sorted_posts = site.categories.points | sort: 'order' %}
{% assign sorted_posts = site.categories.points | where: "lang", page.lang | sort: 'order'
%}
{% for post in sorted_posts %}
<li>
<a class="dropdown-item" href="{{ post.url | relative_url }}">
{{ forloop.index }}. {{ post.title }}
<a class="dropdown-item"
href="{{ post.url | relative_url }}">
{{ forloop.index }}. {{ post.title | escape }}
</a>
</li>
{% endfor %}
</ul>
</li>
{%- for path in page_paths -%}
{%- assign my_page = site.pages | where: "path", path | first -%}
{%- if my_page.title -%}
{%- if my_page.title and my_page.lang == page.lang -%}
<li class="nav-item">
<a class="nav-link" aria-current="page" href="{{ my_page.url | relative_url }}">
{{ my_page.title | escape }}
</a>
</li>
{%- endif -%}
{%- endfor -%}
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown"
aria-expanded="false">
<i class="fa-solid fa-language fa-xl"></i>
</a>
<ul class="dropdown-menu">
<li>
<a class="dropdown-item"
href="{{ page.url | replace: page.lang, 'en' | relative_url }}">
English
</a>
</li>
<li>
<a class="dropdown-item"
href="{{ page.url | replace: page.lang, 'ka' | relative_url }}">
ქართული
</a>
</li>
</ul>
</li>
</ul>
</div>
{%- endif -%}
Expand Down
7 changes: 2 additions & 5 deletions _includes/jumbotron.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,10 @@
<div class="container">
<div class="p-5 text-white rounded-3 text-center">
<h1 class="display-5 fw-bold mb-3 d-flex align-items-baseline justify-content-center">
Unveiling The Truth: Refuting Jehovah's Witnesses
{{ site.data[page.lang].jumbotron.title }}
</h1>
<p class="fs-4 mb-0">
Explore biblical evidence and theological insights that challenge the teachings of Jehovah's
Witnesses. See where the cult started and how it digressed into what it is now.
Equip yourself with a clear, solid arguments to understand and defend the true Christian
faith.
{{ site.data[page.lang].jumbotron.text }}
</p>
</div>
</div>
Expand Down
27 changes: 27 additions & 0 deletions _includes/other-posts-full.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{% assign filtered_posts = site.posts | where: "lang", page.lang %}
{% for post in filtered_posts %}
{% unless post.categories contains "points" limit:5 %}
<div class="row">
<div class="col g-3">
<div class="card">
<div class="card-body">
<h3 class="card-title">{{ post.title }}</h3>
<h6 class="card-title">{{ post.date | date: "%B %d, %Y" }}</h6>
<h6 class="card-title">
{{ site.data[page.lang].categories }}:
<div class="d-inline-flex gap-1">
{% for category in post.categories %}
<span class="badge text-bg-secondary">{{ category }}</span>
{% endfor %}
</div>
</h6>
<div class="card-text">{{ post.excerpt }}</div>
<a href="{{ post.url | relative_url }}" class="card-link">
{{ site.data[page.lang].read-more }} &raquo;
</a>
</div>
</div>
</div>
</div>
{% endunless %}
{% endfor %}
27 changes: 18 additions & 9 deletions posts.html → _includes/other-posts-limited.html
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
---
layout: page
title: "Other Posts"
---
<div class="container-fluid bg-body-tertiary shadow-sm text-center p-3 my-4">
<h1 class="m-0 text-center">
{{ site.data[page.lang].header.nav.other-posts }}
</h1>
</div>
<div class="container">
{% for post in site.posts %}
{% unless post.categories contains "points"%}
{% assign filtered_posts = site.posts | where: "lang", page.lang %}
{% for post in filtered_posts %}
{% unless post.categories contains "points" limit:5 %}
<div class="row">
<div class="col">
<div class="col g-3">
<div class="card">
<div class="card-body">
<h3 class="card-title">{{ post.title }}</h3>
<h6 class="card-title">{{ post.date | date: "%B %d, %Y" }}</h6>
<h6 class="card-title">
Categories:
{{ site.data[page.lang].categories }}:
<div class="d-inline-flex gap-1">
{% for category in post.categories %}
<span class="badge text-bg-secondary">{{ category }}</span>
Expand All @@ -21,12 +23,19 @@ <h6 class="card-title">
</h6>
<div class="card-text">{{ post.excerpt }}</div>
<a href="{{ post.url | relative_url }}" class="card-link">
Read more &raquo;
{{ site.data[page.lang].read-more }} &raquo;
</a>
</div>
</div>
</div>
</div>
{% endunless %}
{% endfor %}
<div class="row mt-3">
<div class="col d-flex justify-content-center">
<a href="{{ '/' | append: page.lang | append: '/posts' | relative_url }}" class="btn btn-primary">
{{ site.data[page.lang].see-all-posts }} &raquo;
</a>
</div>
</div>
</div>
2 changes: 1 addition & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html lang="{{ page.lang | default: site.lang | default: 'en' }}">
{%- include head.html -%}
<body class="d-flex flex-column vh-100">
<body class="d-flex flex-column vh-100 font-{{page.lang}}">
{%- include header.html -%}

<main class="flex-grow-1">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ layout: page
title: "The Practice of Lighting Candles"
date: 2025-01-14 12:03:32 +0400
categories: [ church, candles, lighting ]
permalink: "/en/other/practice-of-lighting-candles"
lang: en
---

Jehovah’s Witnesses frequently state that Jesus did not explicitly instruct the practice of lighting of candles,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
---
layout: page
title: "The Nature of God (Trinity)"
permalink: "/the-nature-of-god"
date: 2025-01-14 12:03:32 +0400
categories: points
order: 1
permalink: "/en/the-nature-of-god"
lang: en
---

Jehovah's Witnesses reject the Trinity, teaching that Jehovah is the only God, and Jesus is His created son, not God
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
---
layout: page
title: "The Deity of Christ"
permalink: "/the-deity-of-christ"
date: 2025-01-14 12:03:32 +0400
categories: points
order: 2
permalink: "/en/the-deity-of-christ"
lang: en
---

Jehovah's Witnesses believe Jesus is a created being (Michael the Archangel).
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
---
layout: page
title: "Salvation by Faith vs. Works"
permalink: "/salvation-by-faith-vs-works"
date: 2025-01-14 12:03:32 +0400
categories: points
order: 3
permalink: "/en/salvation-by-faith-vs-works"
lang: en
---

JWs teach that faith alone is insufficient for salvation and emphasize works, such as door-to-door ministry.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
---
layout: page
title: "The 144,000 and Heaven"
permalink: "/the-144000-and-heaven"
date: 2025-01-14 12:03:32 +0400
categories: points
order: 4
permalink: "/en/the-144000-and-heaven"
lang: en
---

JWs teach that only 144,000 people will go to heaven, based on their interpretation of Revelation 7:4 and 14:1-3.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
---
layout: page
title: "The Authority of the Watchtower"
permalink: "/the-authority-of-the-watchtower"
date: 2025-01-14 12:03:32 +0400
categories: points
order: 5
permalink: "/en/the-authority-of-the-watchtower"
lang: en
---

JWs believe the Watchtower Society is God’s sole channel of communication.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
---
layout: page
title: "Blood Transfusions"
permalink: "/blood-transfusions"
date: 2025-01-14 12:03:32 +0400
categories: points
order: 6
permalink: "/en/blood-transfusions"
lang: en
---

JWs refuse blood transfusions, citing Acts 15:29 (“abstain from blood”).
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
---
layout: page
title: "Physical Resurrection of Jesus"
permalink: "/physical-resurrection-of-jesus"
date: 2025-01-14 12:03:32 +0400
categories: points
order: 7
permalink: "/en/physical-resurrection-of-jesus"
lang: en
---

JWs teach Jesus was resurrected as a spirit being, not in His physical body.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
---
layout: page
title: "The New World Translation (NWT)"
permalink: "/the-new-world-translation"
date: 2025-01-14 12:03:32 +0400
categories: points
order: 8
permalink: "/en/the-new-world-translation"
lang: en
---

The NWT contains unique translations that align with JW theology but are inconsistent with standard biblical
Expand Down
Loading

0 comments on commit ca9415c

Please sign in to comment.