Results 1 to 8 of 8
  1. #1
    Join Date
    Apr 2004
    Location
    Up t'north, UK
    Posts
    305
    Plugin Contributions
    0

    Default Translate page/website

    Hi again

    Is there a mod available to integrate a 'translate this page/site' button to appear on each page of my site.

    I know there are systems like babelfish that a user can integrate into their browser to do this but if the option appeared as a simple 'TRANSLATE' button on my site (using babelfish or a.n.other translating service) this would indeed be cool.

    I have dabbled with online auction sofftware, PHPProbid in the past and this mod was certainly available for that software in php but personally I wouldn't know where to begin to convert that mod to work on zencart.

    Anybody??

    Cheers

    Rob
    if elephants could fly, I'd be a little more optimistic....

  2. #2
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: Translate page/website

    I believe there is a google translate sidebox, but it's largely ineffective. You need to install language packs.
    20 years a Zencart User

  3. #3
    Join Date
    Apr 2004
    Location
    Up t'north, UK
    Posts
    305
    Plugin Contributions
    0

    Default Re: Translate page/website

    I have found a website by the name of http://translation.weblite.ca that seems to do what I want but I have taken the html code and inserted it into the top of the define_main_ page.php and it shows up fine but I can't quite get it to work.

    Rob
    if elephants could fly, I'd be a little more optimistic....

  4. #4
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: Translate page/website

    Trouble with all these translation scripts/functions, is that the minute someone adds products to cart, invokes a PHP function, or calls data off the database, the site will revert to default language. These things are only good for flat HTML sites - not for dynamic content sites.
    20 years a Zencart User

  5. #5
    Join Date
    May 2009
    Location
    Virginia
    Posts
    101
    Plugin Contributions
    0

    Default Re: Translate page/website

    Quote Originally Posted by schoolboy View Post
    Trouble with all these translation scripts/functions, is that the minute someone adds products to cart, invokes a PHP function, or calls data off the database, the site will revert to default language. These things are only good for flat HTML sites - not for dynamic content sites.
    So, then do the language packs work or not?

  6. #6
    Join Date
    Mar 2007
    Location
    AZ
    Posts
    1,911
    Plugin Contributions
    2

    Default Re: Translate page/website

    The zen cart language packs I've used work fine (Spanish and Norwegian packs)

    Tina

  7. #7
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: Translate page/website

    Quote Originally Posted by greengreetings View Post
    So, then do the language packs work or not?
    If the developer of a specific zencart language pack has followed the zencart language pack protocols, then they will work for the entire site.

    These language packs do practically all the work of changing the DEFINE CONSTANTS in the language.php files...

    However, any content that is stored in the database (such as product data - names, descriptions, etc), has to be manually translated. This includes your ezpages.

    Additionally the defined pages need to manually translated.
    20 years a Zencart User

  8. #8
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Translate page/website

    Language packs are not like "translate" buttons; they have actually been manually translated to get the most accurate or best-worded text equivalents in the given language.
    If you have customized the English text for parts of your site, you will probably want to customize the corresponding text in the language pack. Define pages and ez-pages are inherently site-specific, and would need to be individually translated in any case.

 

 

Similar Threads

  1. Adding Google Translate Widget to website not working - "Breaking" layout
    By structuredcable in forum Addon Language Packs
    Replies: 5
    Last Post: 29 Oct 2013, 02:48 PM
  2. v139e Where can i rewrite/translate these three words in shopping cart page?
    By Nandor in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 14 Mar 2013, 10:05 PM
  3. How to expand width and translate page
    By srbin in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 16 Jan 2007, 10:26 PM

Posting Permissions

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