Accents in URL Not correctly replaced
HI, I have a site which I had to translate into Italian.
Everything is OK, I managed to get video titles and description with Italian accented chars (like Ã* ò è ì ù and so on...)
Only problem is that this chars in the URL don't show up...this is (i guesss) because you replaced them with a regexp like "/[^a-zA-Z0-9]+/" --->"-"
Is here a way to change the way URL are built including replacement for accents?? (Ã*--->a, è--->e, ù--->u ......and so on...)
Re: Accents in URL Not correctly replaced
Example:
http://www.sagre.tv/view/20/sagra-dei-c ... mbre-2007/
(see accented chars in video title and description but not in the URL...)
Re: Accents in URL Not correctly replaced
This will be fixed on vShare 2.6. Now it is generated on template side, next version it will be from database, you will get more control on what characters to allow.
Re: Accents in URL Not correctly replaced
You can include the characters in
[^a-zA-Z0-9]+
But you have to edit many templates to do that.
Next version, we will be moving the url generation to video upload stage, then it will stored in DB, in templates, it just show from the DB. It will be better you wait for v 2.6.
Re: Accents in URL Not correctly replaced
the [^a-zA-Z0-9]+
replaces everything not included in that list with a "-"
i want an "Ã*" to be replaced with an "a", "è" with "e" and so on....
and that [^a-zA-Z0-9]+ is really used in too many template files (i guess at least 30)...editing them all would be overkill...
Re: Accents in URL Not correctly replaced
.I am looking for Italian version of VShare script for my real estate http://www.viacasa.it/ can we do a deal?
Re: Accents in URL Not correctly replaced
well, yes, contact me with a PM here