summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Swithinbank2023-05-25 21:31:05 +0200
committerChris Swithinbank2023-05-25 21:31:05 +0200
commited808dc5bc92354488dbd9d45253fb498c933489 (patch)
treec7fdfe885983d8d4cf835391f16a0a75956cc987
parentd8b9f3260daaceed8a31eedcc44bd00733f96254 (diff)
downloadIT.starlight-ed808dc5bc92354488dbd9d45253fb498c933489.tar.gz
IT.starlight-ed808dc5bc92354488dbd9d45253fb498c933489.tar.bz2
IT.starlight-ed808dc5bc92354488dbd9d45253fb498c933489.zip
Add an example i18n data file to the starter project
-rw-r--r--examples/basics/src/content/i18n/_example.json7
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/basics/src/content/i18n/_example.json b/examples/basics/src/content/i18n/_example.json
new file mode 100644
index 00000000..8e616128
--- /dev/null
+++ b/examples/basics/src/content/i18n/_example.json
@@ -0,0 +1,7 @@
+{
+ "This file is an example i18n data file": "Learn more at https://starlight.astro.build/guides/i18n/#translate-starlights-ui",
+
+ "skipLink.label": "Skip to content",
+ "tableOfContents.onThisPage": "On this page",
+ "tableOfContents.overview": "Overview"
+}