You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .claude/skills/localize/SKILL.md
+13-2Lines changed: 13 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,13 +9,13 @@ description: Use when adding support for a new locale/language to the Adapty doc
9
9
10
10
Adding a locale touches ~8 files plus new content/sitemap files. Miss any one and the locale will partially break (no search, broken auto-redirect, missing from sitemap, etc.). Follow this checklist in order.
11
11
12
-
**Active locales:**`zh` (Chinese), `tr` (Turkish). All examples use `{LOCALE}` as placeholder — replace with the actual code (e.g. `ja`, `ko`, `de`).
12
+
**Active locales:**`zh` (Chinese), `tr` (Turkish), `ru` (Russian). All examples use `{LOCALE}` as placeholder — replace with the actual code (e.g. `ja`, `ko`, `de`).
13
13
14
14
---
15
15
16
16
## Step 1 — Register the locale in source code
17
17
18
-
Edit these 6 files before running any translation:
18
+
Edit these files before running any translation:
19
19
20
20
### 1a. `src/data/locales.ts`
21
21
@@ -159,6 +159,16 @@ Add auto-redirect logic to the inline script (around lines 87-95):
159
159
}
160
160
```
161
161
162
+
### 1i. `src/content.config.ts`
163
+
164
+
Add the locale to `SUPPORTED_LOCALES` inside the content config. This is what scopes the `locales` collection glob per CI matrix job — omitting this means every locale build loads every locale's MDX, which OOMs the runner as content grows.
Установка SDK — это шаг 5 настройки Adapty. Прежде чем покупки заработают в вашем приложении, вам также нужно подключить приложение к сторам, а затем создать продукты, пейвол и плейсмент в дашборде Adapty. [Гайд по быстрому старту](quickstart) описывает все необходимые шаги.
0 commit comments