FranzKafkaYu / x-ui

Lightweight Xray panel with multi-protocol and multi-user on the same port,supports English language and Telegram bot. Easy to use and easy to manage.
GNU General Public License v3.0
7.84k stars 1.57k forks source link

中文版本部署后,在全英文环境下无法访问,似乎存在国际化适配问题 #449

Closed ihategfw closed 1 year ago

ihategfw commented 1 year ago

Description of the problem,screencshot would be good

  1. 部署版本为0.3.4.3 x-ui-linux-amd64.tar.gz
  2. 访问环境为全英文,系统设置地区为美国;当浏览器环境为中文时无此问题
  3. 访问登陆页,HTML加载到第64行<a-input v-model.trim="user.username" placeholder='就戛然而止,似乎在替换{{ i18n "username" }}时遇到了问题

Version of x-ui

0.3.4.3

Mydong commented 1 year ago

确实是这个问题,我还以为是怎么了。 image

adamlau98 commented 1 year ago

同样,用Edge就打不开,Chrome可以

FranzKafkaYu commented 1 year ago

请设置浏览器语言为En(US),个人无法复现你们的问题。

Mydong commented 1 year ago

请设置浏览器语言为En(US),个人无法复现你们的问题。 image

当默认是 EN 时,会出现。