Giter Site home page Giter Site logo

0.1.0 beta3 不能切换语言 about ariang HOT 9 CLOSED

mayswind avatar mayswind commented on April 28, 2024
0.1.0 beta3 不能切换语言

from ariang.

Comments (9)

mayswind avatar mayswind commented on April 28, 2024

直接双击本地文件打开的?

from ariang.

jinyu121 avatar jinyu121 commented on April 28, 2024

浏览器Log: Failed to load resource: the server responded with a status of 404 (Not Found) http://192.168.1.1/langs/zh_CN.json

from ariang.

mayswind avatar mayswind commented on April 28, 2024

这个是你的web服务器不支持json格式的原因导致的。在之后的版本里改为了其他类型兼容这个问题。你可以访问这里下载最新的每日构建版 https://raw.githubusercontent.com/mayswind/AriaNg/gh-pages/downloads/latest_daily_build.zip

from ariang.

jinyu121 avatar jinyu121 commented on April 28, 2024

本地环境:Ubuntu 16.04 apache 2.4 php7
路由环境: OpenWRT 15.0.1好像是。默认带的那个几乎是静态的服务器。
浏览器: chrome x64

两个环境均不能切换语言。

如果说只是路由器上发生还能理解,但是本机上有完整的php环境,也不行。

from ariang.

jinyu121 avatar jinyu121 commented on April 28, 2024

我完全不会js,所以不能帮您debug😂见谅

from ariang.

mayswind avatar mayswind commented on April 28, 2024

如之前所说,你下了最新的每日构建版也不成功?

from ariang.

huqichun avatar huqichun commented on April 28, 2024

确实有这问题 新版也是 同样的程序 在空间可以正常切换语言 本地就不行 f12查看 没有加载语言文件

from ariang.

la0wei avatar la0wei commented on April 28, 2024

0.1.0 beta3确实有这个问题,我使用作者提供的网址可以显示中文,自己在服务器安装0.1.0 beta3不能切换,且删除服务器文件并更改版本到nightly后,用开发者工具查看请求,依然请求的是0.1.0 beta3的文件,各种404,是文件设置的缓存时间太长是吗?我清理浏览器缓存后使用nightly版本不错。
另外,印象中0.1.0 beta3使用的似乎是zh_CN.json,而nightly使用的是txt,和作者提供的网址才是一致的,才是比较新的版本,建议更新到nightly。
@jinyu121 @mayswind @huqichun

from ariang.

mayswind avatar mayswind commented on April 28, 2024

@la0wei 清下浏览器的缓存试试。beta3用的还是json格式的语言文件,很多同学反馈自己的http server默认不支持json格式,所以后来就改成了txt格式。

from ariang.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.