Giter Site home page Giter Site logo

Comments (13)

mayswind avatar mayswind commented on April 28, 2024

@huqichun 本地打开时浏览器不支持异步加载本地文件,所以语言文件就没法加载了。在考虑采用浏览器插件的方式或者把语言文件打包的方式实现。

from ariang.

huqichun avatar huqichun commented on April 28, 2024

好吧!期待解决的时候!如果可能,个人建议用后者吧,浏览器插件毕竟还是有局限性!

from ariang.

zaiweijian avatar zaiweijian commented on April 28, 2024

把文件放在路由器里也是这样,期待解决问题。

from ariang.

mayswind avatar mayswind commented on April 28, 2024

@zaiweijian 放最新的每日构建也是?

from ariang.

zaiweijian avatar zaiweijian commented on April 28, 2024

@mayswind 最新的可以了

from ariang.

WJsjtu avatar WJsjtu commented on April 28, 2024

源代码中 ariaNgConstants的languagePath属性是langs,浏览器请求的是localhost/langs,然而我设置了多级域名的话就访问不到了……,建议(只是建议)改用用./langs,var languagePath = './' + ariaNgConstants.languagePath + '/' + options.key + ariaNgConstants.languageFileExtension;

from ariang.

mayswind avatar mayswind commented on April 28, 2024

@WJsjtu 现在用的相对路径应该不会请求错,跟你说的加“./”是一样的。如果有问题麻烦提供下浏览器的版本吧。感谢。

from ariang.

IxsCN avatar IxsCN commented on April 28, 2024

@mayswind 确实AriaNg 0.1.0 beta3没办法切换中文。请求的Path有问题。浏览器为 Chrome 54.0.2840.99 (64-bit)。

from ariang.

mayswind avatar mayswind commented on April 28, 2024

@IxsCN beta3用的绝对路径有个bug,后来的daily build已经修正这个问题了,您可以试试最新的daily build

from ariang.

IxsCN avatar IxsCN commented on April 28, 2024

@mayswind 非常感谢,搞定了。

from ariang.

hosxy avatar hosxy commented on April 28, 2024

chrome54本地打开没办法切换中文,firefox45就可以

from ariang.

mayswind avatar mayswind commented on April 28, 2024

@whonchen 楼上已经说过这个问题了。本地打开时浏览器不支持异步加载本地文件。

from ariang.

Mapaler avatar Mapaler commented on April 28, 2024

image 7
火狐的忠实爱好者,就是要怼用Chrome的

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.