feat(i18n): add Tunisian Arabic (ar-TN) translation (#29306)

Signed-off-by: yyh <yuanyouhuilyz@gmail.com>
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
Nour Zakhma
2025-12-13 03:55:04 +01:00
committed by GitHub
parent f4c7f98a01
commit 886ce981cf
53 changed files with 6198 additions and 18 deletions

View File

@@ -70,6 +70,8 @@ export type I18nText = {
'uk-UA': string
'id-ID': string
'tr-TR': string
'fa-IR': string
'ar-TN': string
'YOUR_LANGUAGE_CODE': string
}
```
@@ -157,6 +159,18 @@ export const languages = [
example: 'Привет, Dify!',
supported: true,
},
{
value: 'fa-IR',
name: 'Farsi (Iran)',
example: 'سلام, دیفای!',
supported: true,
},
{
value: 'ar-TN',
name: 'العربية (تونس)',
example: 'مرحبا، Dify!',
supported: true,
},
// Add your language here 👇
...
// Add your language here 👆

View File

@@ -27,6 +27,7 @@ export type I18nText = {
'tr-TR': string
'fa-IR': string
'sl-SI': string
'ar-TN': string
}
export const languages = data.languages
@@ -81,6 +82,7 @@ export const NOTICE_I18N = {
tr_TR: 'Önemli Duyuru',
fa_IR: 'هشدار مهم',
sl_SI: 'Pomembno obvestilo',
ar_TN: 'إشعار مهم',
},
desc: {
en_US:
@@ -117,6 +119,8 @@ export const NOTICE_I18N = {
'Naš sistem ne bo na voljo od 19:00 do 24:00 UTC 28. avgusta zaradi nadgradnje. Za vprašanja se obrnite na našo skupino za podporo (support@dify.ai). Cenimo vašo potrpežljivost.',
th_TH:
'ระบบของเราจะไม่สามารถใช้งานได้ตั้งแต่เวลา 19:00 ถึง 24:00 UTC ในวันที่ 28 สิงหาคม เพื่อทำการอัปเกรด หากมีคำถามใดๆ กรุณาติดต่อทีมสนับสนุนของเรา (support@dify.ai) เราขอขอบคุณในความอดทนของท่าน',
ar_TN:
'سيكون نظامنا غير متاح من الساعة 19:00 إلى 24:00 بالتوقيت العالمي المنسق في 28 أغسطس لإجراء ترقية. للأسئلة، يرجى الاتصال بفريق الدعم لدينا (support@dify.ai). نحن نقدر صبرك.',
},
href: '#',
}

View File

@@ -146,6 +146,13 @@
"prompt_name": "Indonesian",
"example": "Halo, Dify!",
"supported": true
},
{
"value": "ar-TN",
"name": "العربية (تونس)",
"prompt_name": "Tunisian Arabic",
"example": "مرحبا، Dify!",
"supported": true
}
]
}