Skip to content

Commit 79525ae

Browse files
committed
feat(i18n): update internationalization documentation with additional languages
- Removed outdated i18n section from general.mdc. - Added new language support including Japanese, Korean, French, Spanish, Portuguese, Malay, Indonesian, and Russian in internationalization.mdc. - Enhanced documentation to reflect the expanded multilingual capabilities.
1 parent c0ad948 commit 79525ae

File tree

2 files changed

+28
-4
lines changed

2 files changed

+28
-4
lines changed

.cursor/rules/general.mdc

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,18 @@ alwaysApply: true
66
This project is a Fumadocs.
77

88
## i18n
9-
1. 英文:xxx.mdx
10-
2. 简体中文:xxx.zh-Hans.mdx
11-
3. 繁体中文:xxx.zh-Hant.mdx
12-
4.
9+
When user want to create a new article, you should try to write the first article in English as a default.
10+
Only when user require to finish the i18n, Then you should complete all other language.
11+
12+
### i18n language
13+
1. 英文: xxx.mdx
14+
2. 简体中文: xxx.zh-Hans.mdx
15+
3. 繁体中文: xxx.zh-Hant.mdx
16+
4. Japanese: xxx.ja.mdx
17+
5. Korean: xxx.ko.mdx
18+
6. French: xxx.fr.mdx
19+
7. Spanish: xxx.es.mdx
20+
8. Portuguese: xxx.pt.mdx
21+
9. Malay: xxx.ms.mdx
22+
10. Indonesian: xxx.id.mdx
23+
11. Russian: xxx.ru.mdx

.cursor/rules/internationalization.mdc

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,19 @@ URL: /docs/ui/internationalization
88
Source: https://raw.githubusercontent.com/fuma-nama/fumadocs/refs/heads/main/apps/docs/content/docs/ui/internationalization.mdx
99

1010
Support multiple languages in your documentation
11+
12+
## i18n
13+
1. 英文: xxx.mdx
14+
2. 简体中文: xxx.zh-Hans.mdx
15+
3. 繁体中文: xxx.zh-Hant.mdx
16+
4. Japanese: xxx.ja.mdx
17+
5. Korean: xxx.ko.mdx
18+
6. French: xxx.fr.mdx
19+
7. Spanish: xxx.es.mdx
20+
8. Portuguese: xxx.pt.mdx
21+
9. Malay: xxx.ms.mdx
22+
10. Indonesian: xxx.id.mdx
23+
11. Russian: xxx.ru.mdx
1124

1225
## Overview
1326

0 commit comments

Comments
 (0)