Skip to content
Cataclysm: Bright Nights

Language Specific Style Guide

How to write one for your language

  1. Find your language code.
  2. Create doc/src/content/docs/{your-language-code}/i18n/explanation/
  3. If it doesn’t, add your language to doc/astro.config.ts file, for example:
diff --git a/doc/astro.config.ts b/doc/astro.config.ts
index da91c2e0014..3dafa248a06 100644
--- a/doc/astro.config.ts
+++ b/doc/astro.config.ts
@@ -41,6 +41,7 @@ export default defineConfig({
       locales: {
         en: { label: "English" },
         ko: { label: "한국어", lang: "ko-KR" },
+        ru: { label: "Русский", lang: "ru-RU" },
       logo: { src: "./src/assets/icon-round.svg" },
       social: { github, discord },

In this example, it will allow russian language to be availble in language selector. Check starlight for details.

Writing style guide for your language

There’s no restrictions on how or what to write in this file. For example, you could:

  • write language specific notes for other translaotrs to read
  • link to external resources or tools

You could check out existing style guides for reference: