Bug with Translation

inspirats

New Member
YetiShare User
Wurlie User
Feb 6, 2014
23
0
1
Hello,

When I put the site on the translation, I have a bug with links often, for example this one: /login.html/%22

Normally it should appear as in English: /login.html

why /%22 ?


Thank you for your help
Sorry i'm not english.
 

sultime3732

Member
YetiShare User
Wurlie User
Mar 13, 2014
48
0
6
57
France
Hello,

From my side I had no cares for translation into French, but it is complex assertions to spend so much time to translate

cordially
 

adam

Administrator
Staff member
Dec 5, 2009
2,043
108
63
inspirats said:
Hello,

When I put the site on the translation, I have a bug with links often, for example this one: /login.html/%22

Normally it should appear as in English: /login.html

why /%22 ?


Thank you for your help
Sorry i'm not english.
Are the links added to the source code or when you load them directly?
 

inspirats

New Member
YetiShare User
Wurlie User
Feb 6, 2014
23
0
1
I did not touch the source code. I just translate, and when I pass the site in French, that's the problem with the links.
 

inspirats

New Member
YetiShare User
Wurlie User
Feb 6, 2014
23
0
1
My translate...

Code:
"if_you_have_an_account_signin","0","If you have an account, <a href=\"[[[WEB_ROOT]]]/login.[[[PAGE_EXTENSION]]]\">click here</a> to login and manage your files.","Si vous avez un compte, <a href=\"[[[WEB_ROOT]]]/login.[[[PAGE_EXTENSION]]]\">cliquer ici</a> pour vous connecter et gérer vos fichiers."
 

adam

Administrator
Staff member
Dec 5, 2009
2,043
108
63
So is it happening to all translations or just the login one?
 

inspirats

New Member
YetiShare User
Wurlie User
Feb 6, 2014
23
0
1
With all the translations that contains a link ... as I showed above.
 

adam

Administrator
Staff member
Dec 5, 2009
2,043
108
63
The %22 value is an encoded double quote ". So there's an extra quote being generated somewhere. Did you edit it via the admin area or export/import the translations?
 

inspirats

New Member
YetiShare User
Wurlie User
Feb 6, 2014
23
0
1
Indeed, the problem was that. I fixed all translations via the admin panel and everything works fine with.

Thank you very much for your help