Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🌐 feat(i18n): add Persian language #283

Merged
merged 6 commits into from
Mar 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion content/blog/faq-languages/index.ca.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
+++
title = "Lost in Translation? Explora les capacitats multilingües de tabi"
date = 2023-09-12
updated = 2024-01-11
updated = 2024-03-01
description = "Descobreix com tabi t'ajuda a connectar amb una audiència global gràcies a les seves funcions multilingües. Aprèn a canviar la llengua per defecte, afegir més llengües i aportar les teves pròpies traduccions."

[taxonomies]
Expand Down Expand Up @@ -33,6 +33,7 @@ tabi admet les següents llengües:
- Hindi
- Italià
- Japonès
- Persa
- Portuguès (Europeu)
- Rus
- Ucraïnès
Expand Down
3 changes: 2 additions & 1 deletion content/blog/faq-languages/index.es.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
+++
title = "¿Lost in Translation? Explora las capacidades multilingües de tabi"
date = 2023-09-12
updated = 2024-01-11
updated = 2024-03-01
description = "Descubre cómo tabi te ayuda a conectar con una audiencia global gracias a sus funciones multilingües. Aprende a cambiar el idioma por defecto, añadir más idiomas y aportar tus propias traducciones."

[taxonomies]
Expand Down Expand Up @@ -34,6 +34,7 @@ tabi admite los siguientes idiomas:
- Inglés
- Italiano
- Japonés
- Persa
- Portugués (Europeo)
- Ruso
- Ucraniano
Expand Down
3 changes: 2 additions & 1 deletion content/blog/faq-languages/index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
+++
title = "Lost in Translation? Not with tabi's Multilingual Capabilities"
date = 2023-09-12
updated = 2024-01-11
updated = 2024-03-01
description = "Master the art of serving a global audience through tabi's built-in multilingual features. Learn how to change the default language, add multilingual support, and contribute your own translations."

[taxonomies]
Expand Down Expand Up @@ -34,6 +34,7 @@ tabi supports the following languages:
- Italian
- Japanese
- Korean
- Persian
- Portuguese (European)
- Russian
- Spanish
Expand Down
89 changes: 89 additions & 0 deletions i18n/fa.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
language_name = "فارسی" # Shown in language picker for multi-language sites.
date_locale = "fa_IR"
full_stop = "." # Used at the end of a sentence.

# Menu items.
# Should match the names in config.extra.menu and config.extra.footer_menu.
blog = "وبلاگ"
archive = "آرشیو"
tags = "برچسب‌ها"
projects = "پروژه‌ها"
about = "درباره"
contact = "تماس"
privacy = "سیاست حفظ حریم خصوصی"
site_statistics = "آمار سایت"
sitemap = "نقشه سایت"

# Search.
search = "جستجو"
search_icon_title = "برای باز کردن جستجو کلیک کنید یا $SHORTCUT را فشار دهید" # $SHORTCUT will be replaced with the actual keyboard shortcut.
clear_search = "پاک کردن جستجو" # Title of the X icon next to search input.
zero_results = "بدون نتیجه"
one_results = "$NUMBER نتیجه" # "1 result"
many_results = "$NUMBER نتیجه" # "3 results"

# Navigation.
read_more = "ادامه مطلب"
one_posts = "$NUMBER مطلب"
many_posts = "$NUMBER مطلب" # "3 posts"
prev = "قبلی" # As in "Previous" page.
next = "بعدی" # As in "Next" page.
of = "از" # E.g. Page 1 "of" 3
all_posts = "همه مطالب"
all_tags = "همه برچسب‌ها"
language_selection = "انتخاب زبان"
toggle_mode = "تغییر حالت $MODE" # $MODE will be replaced by a value (or both) below.
dark = "تیره"
light = "روشن"
reset_mode = "بازنشانی حالت به حالت پیش‌فرض"


# Quick navigation buttons.
toggle_toc = "تغییر جدول محتوا"
go_to_top = "رفتن به بالای صفحه"
go_to_comments = "رفتن به بخش نظرات"

# Post metadata.
draft = "پیش‌نویس"
zero_min_read = "خواندن کمتر از ۱ دقیقه"
one_min_read = "خواندن $NUMBER دقیقه"
many_min_read = "خواندن $NUMBER دقیقه"
zero_words = "هیچ کلمه‌ای"
one_words = "$NUMBER کلمه"
many_words = "$NUMBER کلمه"
last_updated_on = "آخرین به‌روزرسانی در"
see_changes = "مشاهده تغییرات"

# Post body.
table_of_contents = "فهرست مطالب"
load_comments = "بارگذاری نظرات"

# Copy code block button.
copied = "کپی شد!"
copy_code_to_clipboard = "کپی کد به کلیپ‌بورد"

# Footer: Powered by Zola and tabi.
powered_by = "قدرت گرفته از"
and = "و"
site_source = "منبع سایت"

# 404 error.
# https://welpo.github.io/tabi/404.html
page_missing = "صفحه‌ای که درخواست کرده‌اید به نظر می‌رسد از دست رفته است"
translation_missing = "یا هنوز به زبان شما ترجمه نشده است"
check_url = "آدرس اینترنتی را بررسی کنید و یا"
go_home = "به صفحه اصلی برگردید"

# For multilingual quote shortcode.
# https://welpo.github.io/tabi/blog/shortcodes/#multilingual-quotes
show_original_quote = "نقل قول اصلی را نشان بده"
show_translation = "ترجمه را نشان بده"
open_quotation_mark = "«"
close_quotation_mark = "»"

# Translations for stylised Atom feed.
# https://welpo.github.io/tabi/atom.xml
# Must contain "About Feeds"; it will become a link.
about_feeds = "این یک فید وب است، همچنین به عنوان یک فید Atom شناخته می‌شود. با کپی کردن URL از نوار آدرس به خواننده اخباری خود مشترک شوید. برای یادگیری بیشتر و شروع به کار بروید به About Feeds. این رایگان است."
visit_the_site = "بازدید از وب‌سایت"
recent_posts = "مطالب اخیر"