mirror of
https://github.com/Lapikud/lapikud.github.io.git
synced 2026-08-09 03:19:13 +00:00
new home page design (Hero only right now)
This commit is contained in:
@@ -31,7 +31,7 @@ async function loadTranslations(lang) {
|
||||
|
||||
// Dynamically import all translation files for the specific language
|
||||
// Vite will code-split these and only bundle the ones actually used
|
||||
const modules = import.meta.glob('../locales/*/*.json');
|
||||
const modules = import.meta.glob('./locales/*/*.json');
|
||||
|
||||
for (const path in modules) {
|
||||
if (path.includes(`/locales/${lang}/`) || path.includes(`\\locales\\${lang}\\`)) {
|
||||
|
||||
Reference in New Issue
Block a user