Giter Club home page Giter Club logo

Comments (6)

mikehaertl avatar mikehaertl commented on May 28, 2024

Had no time yet to verify this issue, but do you see any errors in the browser's console or in the network tab? Any hint what goes wrong?

from yii2-localeurls.

harrytang avatar harrytang commented on May 28, 2024

may be case-sensitive problem.

  • if I set 'languages' => ['vi-VN'], it's not work (the Yii Debugger URL is /vi-VN and it will be redirected to vi-vn).
  • it work find if I set 'languages' => ['vi-vn']

from yii2-localeurls.

mikehaertl avatar mikehaertl commented on May 28, 2024

Ok, maybe we have an issue here. Could you please give some more details:

  • What is the code that you use to create the URL for the page where the problem happens?
  • What URL is being created by that code?

from yii2-localeurls.

mikehaertl avatar mikehaertl commented on May 28, 2024

The above change should fix your issue. Can you help testing it, please?

from yii2-localeurls.

harrytang avatar harrytang commented on May 28, 2024

it's work fine now. Thanks for your quick fix.

from yii2-localeurls.

mikehaertl avatar mikehaertl commented on May 28, 2024

Glad to hear that. I've just released 1.1.2 with this fix included. Thanks for your help!

from yii2-localeurls.

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.