Skip to content

Self-hosted personal gallery application with online photo management and albums, supporting Live/Motion Photos, EXIF parsing, geolocation recognition, and an explore map.

fix(i18n): 调整浏览器语言检测配置

Timothy Yin65a926e4cf6f
diff --git a/nuxt.config.ts b/nuxt.config.ts
index d6884d88..1a3f84c0 100644
--- a/nuxt.config.ts
+++ b/nuxt.config.ts
@@ -63,6 +63,10 @@ export default defineNuxtConfig({
},
i18n: {
+ detectBrowserLanguage: {
+ fallbackLocale: 'en',
+ useCookie: false,
+ },
strategy: 'no_prefix',
locales: [
{ code: 'zh-Hans', name: '简体中文', file: 'zh-Hans.json' },