Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: Changing Language

  1. #1

    Default Changing Language

    Hi,
    I have just purchased vShare Script and I have set-up my site.

    I need to translate all the site into Italian Language
    my question is..how do I do that?
    I have seen that we have a "include/language" folder with an "en" folder...
    I have copied the "en" folder and renamed it to "ita"...so i can modify all variables in it...
    but...how do I change langage globally on the site???
    cheers!

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

    Default Re: Changing Language

    You can change language folder by editing include/config.php

    In your case, use

    $language = "ita";
    You also need to edit templates and change languages in the template.

  3. #3

    Default Re: Changing Language

    yes, I had managed to find it...
    so I have to edit all variables in the "ita" folder and ALL the .tpl files in the "template" folder...am I Right? or is there something else to do?

    cheers

  4. #4

    Default Re: Changing Language

    This may be stupid question, but could somebody explain, how to make vhare portal switch between two languages and two "template" folders?

  5. #5

    Default Re: Changing Language

    I am almost done with transalting the site...
    however, there are some "variables" that I cannot find...like the text "Not Yet Rated", ""days ago" or "hours ago"

    where are these strings stored? In the Zend Cripted Code? or in the database??
    thanks!

  6. #6

    Default Re: Changing Language

    It seems, that it is not possible to translate package subscription periods (Month and Year).
    I tried to use phpMyAdmin and changed some values in the package table, but this didn't help me.
    Is there any solution for this problem?

  7. #7
    Join Date
    May 2007
    Posts
    588

    Default Re: Changing Language

    @ autodafe

    some are hard coded into the script....you would have to wait until admin puts them into the external files

  8. #8

    Default Re: Changing Language

    In video.tpl's top left corner is this code: {if $smarty.request.category eq ""}{assign var="catgy" value=recent}{else}{assign var="catgy" value=$smarty.request.category}{/if} {insert name=tag_to_name assign=tagname tag=$catgy} {$tagname} {if $channel_name ne ''}{$channel_name} videos{/if}
    I hope, that it is possible to translate the outcome of this code in the future versions of vshare. I'm not shure, but I think, that it is not possible at the moment.

  9. #9
    Join Date
    Jan 2008
    Posts
    7

    Default Re: Changing Language

    Yes, where is "days ago" or "hours ago"??


    Quote Originally Posted by autodafe
    I am almost done with transalting the site...
    however, there are some "variables" that I cannot find...like the text "Not Yet Rated", ""days ago" or "hours ago"

    where are these strings stored? In the Zend Cripted Code? or in the database??
    thanks!

  10. #10
    Join Date
    Jan 2008
    Posts
    7

    Default Re: Changing Language

    admin?

Page 1 of 2 12 LastLast

Similar Threads

  1. I need language.
    By GeneralDee in forum General Discussions
    Replies: 3
    Last Post: 01-27-2010, 04:58 AM
  2. changing language and background color and size
    By ROLBUS in forum Template Modifications
    Replies: 1
    Last Post: 12-24-2007, 02:29 AM
  3. Changing Language
    By yose in forum Template Modifications
    Replies: 2
    Last Post: 09-20-2007, 06:34 AM
  4. Language
    By nocomp in forum Installation Support
    Replies: 8
    Last Post: 08-18-2007, 03:47 AM
  5. Language
    By EvilMan in forum Sales Questions
    Replies: 2
    Last Post: 06-23-2007, 03:11 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
  •