Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with different alias' on the same resource #63

Open
CarlPiper opened this issue Feb 13, 2020 · 3 comments
Open

Issues with different alias' on the same resource #63

CarlPiper opened this issue Feb 13, 2020 · 3 comments

Comments

@CarlPiper
Copy link

CarlPiper commented Feb 13, 2020

This extension seems super cool and does exactly what I'm looking for but I don't seem to understand how to get it to work how I need.

I think it's a cookie problem.

  1. Firstly I have a resource with 2 alias' one for English and 1 for Spanish.
    This is the page and url

Screenshot 2020-02-13 at 19 08 39

this is the cookie
Screenshot 2020-02-13 at 19 13 33

  1. I then click Spanish
    I would expect it to show the alias as Spanish?

Screenshot 2020-02-13 at 19 13 46

cookie
Screenshot 2020-02-13 at 19 13 53

  1. I then go to /spanish

Screenshot 2020-02-13 at 19 14 12

cookie still spanish

  1. I then click to change language but the cookie doesn't change and im still greeted with spanish page.

Screenshot 2020-02-13 at 19 14 28

cookie
Screenshot 2020-02-13 at 19 14 32

Ideally, I would just want the page to go to the alias that I have set in the resource for that particular language. If I am on page /english and then switch to the spanish language i want to be shown /spanish in the url bar and vise versa.

Is this possible? I really want to use this plugin and to avoid /en/ for English if possible.
I also dont want the ?lang=x after, which is why I would use different alias'

Is there something that can be done in the htaccess? Similar to how friendly urls work?


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@4ntz
Copy link

4ntz commented Aug 27, 2020

@CarlPiper @goldsky
Has this been solved?
I would be happy to back up this feature if it's not implemented yet.

@CarlPiper
Copy link
Author

@4ntz I gave up on the extension in the end and swapped over to Babel which was much more advanced but once set up is really a dream. Obviously they are for different use cases but for me, in the end, Babel was perfect.

@4ntz
Copy link

4ntz commented Aug 27, 2020

@CarlPiper thx for the head up. I have done several sites with Babel and Lingua - I like how "slim" Lingua is. I just miss the FURL feature..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants