• hi, so I’ve been stuck with this problem for a long time now, maybe any of you guys can help me:

    I’m making a website with wordpress for real estate, I already have the same one (https://www.alanyapropertyfinder.com)

    This website works with a nice theme that I want to use for my new website, the problem is that I want it in multiple languages, the theme has a language.php file that contains:
    <?php
    ///header.php///
    define(‘WELCOME_TEXT’,__(‘Welcome’));
    define(‘HOME_TEXT’,__(‘Home’));
    define(‘SIGN_IN_TEXT’,__(‘Sign In’));

    So I think the most easy way to do it is just make a index page with language selection and that selection goes to my website with for example the theme in dutch or the theme in English …

    What I don’t know is how to make such a index page and how to make wordpress choose the selected theme, I could really use some help with this !

    Thanx !

Viewing 10 replies - 1 through 10 (of 10 total)
  • or you can you a translation plugin. i know that qtranslate is free and it works (most of the times) and wpml which is not free.

    Thread Starter alanyapropertyfinder

    (@alanyapropertyfinder)

    Yes but then the translations are not accurate, which is really not professional in my eyes …

    i am talking about plugins that you make the translation and not computers.

    Thread Starter alanyapropertyfinder

    (@alanyapropertyfinder)

    Yes but that translation is not accurate, for example property is translated in dutch to Eigenschappen ( like in attributes ) but it needs to be Vastgoed (as in Real estate property) … tried loads of plugins, they all have bad translations …

    and own translation doesn’t translate the theme itself ( all the standard text like bathroooms: and bedrooms:, thats what i need, (to translate the theme, which i can do in the theme language file, but my visitors need to be able to select the different THEME TRANSLATIONS)

    again… You translate the words! not the computer! so you can type whatever you like : )

    Thread Starter alanyapropertyfinder

    (@alanyapropertyfinder)

    yes the posts, but its the theme i need to translate

    with qtranslate you can translate

    1.menus
    2.widgets
    3. titles
    4. posts

    what else will you need to translate?

    a language switcher is also included.

    Thread Starter alanyapropertyfinder

    (@alanyapropertyfinder)

    tried qtranslate, also bad translations, just visit my website as mentioned above and see for yourself, my theme has a language file, that contains all the words that are used in the !! THEME !!

    //search.php//
    define(‘SEARCH_PROPERTY_TITLE’,__(‘Zoek Vastgoed’));
    define(‘SEARCH_PROPERTY_FOR_TEXT’,__(‘Vastgoed te’));
    define(‘SEARCH_ALL_TEXT’,__(‘Alle’));
    define(‘SEARCH_BUY_TEXT’,__(‘Koop’));
    define(‘SEARCH_RENT_TEXT’,__(‘Huur’));
    define(‘SEARCH_LOCATION_TEXT’,__(‘Locatie’));
    define(‘SEARCH_ALL_LOCATION_TEXT’,__(‘Alle Locaties’));
    define(‘SEARCH_AREA_TEXT’,__(‘m2’));
    define(‘SEARCH_ALL_AREA_TEXT’,__(‘Alle m2’));
    define(‘SEARCH_PRICE_RANGE_TEXT’,__(‘Prijsklasse’));
    define(‘SELECT_ALL_PRICE_TEXT’,__(‘Alle prijsklassen’));
    define(‘SEARCH_KEYWORD_TEXT’,__(‘Zoekterm’));
    define(‘SEARCH_BEDROOMS_TEXT’,__(‘Slaapkamers’));

    Like this, and i need users to be able to select the language they want and wordpress to use the theme in that language !!!!!!!!!

    Translating the posts and pages and menu’s is possible with the plugin, no trouble with that, but not for example the search tool and this:

    Home Information
    Price: €240000 Address: Obakoy
    Type: Sale City: Alanya
    Bedrooms: 4 State: Antalya
    Bathrooms: 2 Country: Turkey
    Area: 256 Sq.m. Zip Code: 07400
    Property Description

    These are not included in the posts, they are part of the theme (Home information, price, address, type, city, bedrooms, bathrooms, contry, area, etc.) These texts are pre-defined by my theme and if i translate with a plugin it is not accurate …

    as I told you before …

    Thread Starter alanyapropertyfinder

    (@alanyapropertyfinder)

    I’ll make it easier, forget the language, I need people to be able to select different THEMES on my website in the form of a dropdown or flags for example to vieuw my website in their selected theme ( Themes that are the same but in a different language)

    mmm ok maybe you can create a
    https://codex.www.ads-software.com/Create_A_Network

    this works with one database and different folder so you can have

    example.com
    example.com/fr

    and install the theme twice. You may have to change the name of the theme, i am not sure.

    Another method is to create sub domains or sub dirs and install two times WP .

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Multiple themes (Language)’ is closed to new replies.