← Back to list

i18n-next-intl-vi
by HuynhSang2005
⭐ 0🍴 0📅 Jan 25, 2026
SKILL.md
name: i18n-next-intl-vi description: Quy ước i18n (Vietnamese-first UI) với next-intl trong repo Next.js 16 này.
i18n (Vietnamese-first) với next-intl
Khi nào dùng skill này
- Khi thêm/sửa UI text, form labels, messages.
- Khi tạo page/layout theo locale.
Quy tắc
- UI text luôn Tiếng Việt qua
apps/web/src/i18n/locales/vi.json. - Thuật ngữ kỹ thuật giữ tiếng Anh (Next.js, React, API, RLS...).
Patterns
- Server Component:
const t = await getTranslations('namespace'). - Client Component:
const t = useTranslations('namespace'). - Page theo locale:
setRequestLocale(locale).
Không được làm
- Không hardcode English string cho UI.
- Không dùng
'use client'nếu không cần state/effect/event handlers.
Score
Total Score
50/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon