Having some trobles with the SPANISH versio os OSQA, teh callback route is in English and gives a 404 error.

(ported over from http://meta.osqa.net/questions/2115/login-through-twitter-not-working-oops-actually-it-works-fine)

Well have a new problem regarding this one:

The callback URL from Twitter /account/twitter/done/?oauth_token=XXXXXXXXXXXXXXXXXXXXXXXXX

But since I have the site running in Spanish, gives me a 404 not found. Have tested in English and works fine, so the routes are bad.

Any ideas.? Thanks.

This is when I try to add Twitter a a new login provider.

asked 13 Jul '11, 17:57

brusacco's gravatar image

brusacco
1611411
accept rate: 66%

edited 14 Jul '11, 11:18

Andrew_S's gravatar image

Andrew_S ♦
5.6k45674

Same problem try to login using Twitter, not only adding it as another login provider.

(14 Jul '11, 12:29) brusacco

Well I guess I solved. Reading the POE translation file got some routes translations and the spanish route goes like this:

http://xxxxxxxx.com/cuenta/twitter/hecho/

So you have to change the callback Twitter URL to this one.

link

answered 14 Jul '11, 16:50

brusacco's gravatar image

brusacco
1611411
accept rate: 66%

edited 14 Jul '11, 16:51

Is working for me.

(14 Jul '11, 16:52) brusacco

Cool. But in general translations in the URLs have to be avoided.

(14 Jul '11, 16:58) Jordan ♦♦

For SEO, URLs must be in Spanish form, for spanish sites. BTW I just read the POE file to find this, did not edited, the URL translation comes with the SVN download.

(14 Jul '11, 17:01) brusacco
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×75
×24
×7

Asked: 13 Jul '11, 17:57

Seen: 376 times

Last updated: 14 Jul '11, 17:01

powered by OSQA