Results 1 to 4 of 4
  1. #1
    Join Date
    Oct 2006
    Posts
    12
    Plugin Contributions
    0

    help question Language Based Template

    Hi:

    I'm using the latest version, 1.3.8

    I'm developing a bilingual site, English & Farsi.
    Since Farsi is a right to left language, the menu setups and the design are different then the english section.

    So, I'm wondering if I could load a different template/design based on the language?

    I've already setup the website with both languages, however the design is the same while switching the languages.

    Any help is greatly appreciated

    tx
    Kamy

  2. #2
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Language Based Template

    Quote Originally Posted by kamy View Post
    Hi:

    I'm using the latest version, 1.3.8

    I'm developing a bilingual site, English & Farsi.
    Since Farsi is a right to left language, the menu setups and the design are different then the english section.

    So, I'm wondering if I could load a different template/design based on the language?

    I've already setup the website with both languages, however the design is the same while switching the languages.

    Any help is greatly appreciated

    tx
    Kamy
    I believe you can change one of the defines in your "Farsi.php file:

    define('HTML_PARAMS','dir="ltr" lang="en"');

  3. #3
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: Language Based Template

    Yes, you can create a language based template.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  4. #4
    Join Date
    Oct 2006
    Posts
    12
    Plugin Contributions
    0

    Default Re: Language Based Template

    Hi

    Thanks for replies, the rtl change helped somewhat, but I think what I really need is the whole cart available in Farsi.

    I guess I have to create a language based template.

    Any ideas where to start?

    The biggest issue right now is to load a different CSS file, based on default and/or selected language.

    tx
    Kamy

 

 

Similar Threads

  1. different header based on language
    By keneso in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 22 Mar 2012, 12:18 PM
  2. v139h custom tpl_header based on language
    By Ruts67 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 18 Feb 2012, 07:18 AM
  3. Embed php template within another php template based on drop-down menu selection?
    By mcqueeneycoins in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 21 Jan 2012, 06:44 PM
  4. tpl_footer & tpl_header text based on language
    By shocker in forum Addon Language Packs
    Replies: 24
    Last Post: 28 Dec 2008, 10:48 AM

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