Results 1 to 7 of 7

Thread: Accents in URL Not correctly replaced

  1. #1

    Default 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...)

  2. #2

    Default 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...)

  3. #3
    Join Date
    Apr 2007
    Posts
    2,202

    Default 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.

  4. #4
    Join Date
    Apr 2007
    Posts
    2,202

    Default 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.

  5. #5

    Default 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...

  6. #6

    Default 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?

  7. #7

    Default Re: Accents in URL Not correctly replaced

    well, yes, contact me with a PM here

Similar Threads

  1. HELP - Ad Banners not working correctly!
    By EinfachClicken in forum Installation Support
    Replies: 2
    Last Post: 09-14-2008, 11:14 AM
  2. Menu pagination not work correctly
    By xtremebog in forum Bug Reports
    Replies: 0
    Last Post: 01-25-2008, 10:17 AM
  3. mod_rewrite not rewriting the path correctly
    By admin in forum Installation Support
    Replies: 1
    Last Post: 10-29-2007, 11:58 AM
  4. Long videos not playing correctly.
    By GhostFreak in forum Installation Support
    Replies: 19
    Last Post: 08-29-2007, 04:51 AM
  5. 16:9 video fails to display correctly - Why?
    By Dafydd in forum General Discussions
    Replies: 3
    Last Post: 08-20-2007, 08:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •