-
Notifications
You must be signed in to change notification settings - Fork 27.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add RTL to with-next-translate example (#22808)
### Arabic/Hebrew RTL to `with-next-translate` Example Added a simple example to change HTML direction based on the currently selected language ### References: - [#19049](#19049) - [#18667](#18667)
- Loading branch information
1 parent
e861ada
commit 3f9c469
Showing
8 changed files
with
73 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"title": "مثال with-next-translate", | ||
"powered": "Powered by", | ||
"alt": "Vercel logo" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"arabic": "العربية", | ||
"catalan": "الكاتالونية", | ||
"change-arabic": "تغيير اللغة إلى العربية ", | ||
"change-catalan": "تغيير اللغة إلى الكتالانية", | ||
"change-english": "تغيير اللغة إلى اللغة الإنجليزية ", | ||
"change-hebrew": "تغيير اللغة إلى العبرية", | ||
"description": "ابدأ بالتعديل", | ||
"english": "الإنجليزية", | ||
"hebrew": "العبرية", | ||
"next-docs": "اعثر على معلومات متعمقة حول ميزات Next.js وواجهة برمجة التطبيقات. ", | ||
"plugin-docs": "اقرأ المزيد عن استخدام الترجمة التالية. ", | ||
"title": "<0>مرحبا بك في <1></1></0>" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"title": "דוגמא with-next-translate", | ||
"powered": "Powered by", | ||
"alt": "Vercel logo" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"arabic": "עֲרָבִית", | ||
"catalan": "קטלאנית", | ||
"change-arabic": "שנה שפה לערבית", | ||
"change-catalan": "שנה שפה לקטלונית", | ||
"change-english": "שנה שפה לאנגלית", | ||
"change-hebrew": "שנה את השפה לעברית", | ||
"description": "התחל על ידי עריכה", | ||
"english": "אנגלית", | ||
"hebrew": "עִברִית", | ||
"next-docs": "מצא מידע מעמיק על התכונות וה- API של Next.js.", | ||
"plugin-docs": "קרא עוד על השימוש בתרגום הבא.", | ||
"title": "<0>ברוך הבא ל <1></1></0>" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters