Skip to content

Commit

Permalink
Add Urdu translations (#867)
Browse files Browse the repository at this point in the history
### Prerequisites

Put an `x` into the box(es) that apply:

- [ ] This pull request fixes a bug.
- [x] This pull request adds a feature.
- [ ] This pull request introduces breaking change.

### Description

This commit adds urdu translations. 

Urdu uses the [Nastaliq](https://en.wikipedia.org/wiki/Nastaliq) script,
read from right to left. This script's unique style will often require
custom CSS. Because of these reasons, english text does not mix very
well with urdu. I felt it important to translate as much as possible
into Urdu for a better look and feel. For example, instead of 'Powered
By' in English, using the Urdu word for 'Thanks' was chosen as a
complete translation into Urdu might not work well due to differences in
subject-verb order

### Issues Resolved

List any existing issues this pull request resolves.

### Checklist

Put an `x` into the box(es) that apply:

#### General

- [x] Describe what changes are being made
- [x] Explain why and how the changes were necessary and implemented
respectively
- [ ] Reference issue with `#<ISSUE_NO>` if applicable

#### Resources

- [ ] If you have changed any SCSS code, run `make release` to
regenerate all CSS files

#### Contributors

- [x] Add yourself to `CONTRIBUTORS.md` if you aren't on it already

Co-authored-by: Muqeet Malik <muqeet.malik.-nd@disneystreaming.com>
  • Loading branch information
mmalik23 and Muqeet Malik authored Dec 4, 2023
1 parent 3172fee commit 0fab52d
Show file tree
Hide file tree
Showing 2 changed files with 65 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/multilingual-mode.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ This theme supports the following languages:
- Turkish
- Simplified Chinese
- Taiwan Chinese
- Urdu

## Configure languages

Expand Down
64 changes: 64 additions & 0 deletions i18n/ur.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
[categories]
one = "قسم"
other = "اقسام"

[tags]
one = "ٹیگ"
other = "ٹیگز"

[series]
one = "سلسلہ"
other = "سلسلہ"

[authors]
one = "مصنف"
other = "مصنفین"

[posts]
other = "اِشاعَتی"

[reading_time]
one = "اسے پڑھنے میں ایک منٹ لگے گا"
other = "اسے پڑھنے میں {{ Count }} منٹ لگتا ہے۔"

[page_not_found]
other = "صفحہ نہیں ملا"

[page_does_not_exist]
other = "معذرت، یہ صفحہ موجود نہیں ہے۔"

[head_back]
other = "آپ <a href=\"{{ . }}\">ہوم پیج</a> پر واپس جا سکتے ہیں۔"

[licensed_under]
other = "Licensed under"

[powered_by]
other = "شکریہ"

[see_also]
other = "بھی دیکھو"

[note]
other = "نوٹ"

[tip]
other = "ٹپ"

[example]
other = "مثال"

[question]
other = "سوال"

[info]
other = "معلومات"

[warning]
other = "انتباہ"

[error]
other = "غلطی"

[link_to_heading]
other = "Link to heading"

0 comments on commit 0fab52d

Please sign in to comment.