🌐 Adds i18n capabilities
Gitea Build Action / build-astro (push) Successful in 9m31s

This commit is contained in:
2025-10-22 13:53:44 +02:00
parent 7eb1783986
commit 330060f954
5 changed files with 361 additions and 310 deletions
+18
View File
@@ -0,0 +1,18 @@
export const languages = {
en: 'English',
sk: 'Slovak',
};
export const defaultLang = 'en';
export const ui = {
en: {
'nav.home': 'Home',
'nav.hello': 'Hello',
'nav.twitter': 'Twitter',
},
sk: {
'nav.home': 'Start',
'nav.hello': 'Hallo',
},
} as const;