WordPress.org

Forums

Transposh WordPress Translation
Change language based on the domain name? (4 posts)

  1. Stratos Nikolaidis
    Member
    Posted 2 years ago #

    Hello from Greece. I have a website, bnbsoftware.gr, and I have installed transposh with no problem. I have installed my own flags, in the position I wanted.

    I also have the bnbsoftware.eu domain, that is the same site. And I want, when entering the bnbsoftware.eu, to show the english language instead of the greek.

    How can I do this?

    Thank you in advance.

    Stratos Nikolaidis
    Thessaloniki, Greece

    http://wordpress.org/extend/plugins/transposh-translation-filter-for-wordpress/

  2. Ofer Wald
    Member
    Plugin Author

    Posted 2 years ago #

    Hello there,

    You can probably make some changes to the target language in the plugin based on the domain, this is not supported as a feature yet, but should not be too hard to code.

  3. Stratos Nikolaidis
    Member
    Posted 2 years ago #

    In the flag widgets, I have 5 languages apeearing. First is the greek language (default) and other four. The links on the flags, are the following:

    greek: index.php
    english: index.php?lang=en
    french: index.php?lang=fr
    etc...

    Is it possible to force a lang param in the greek (aka default) language, so to have something like this:

    greek: index.php?lang=el
    english: index.php?lang=en
    french: index.php?lang=fr
    etc...

    In this case, it will be much more easy to check, if there is no lang param, to add one based on the domain...

  4. Ofer Wald
    Member
    Plugin Author

    Posted 2 years ago #

    Hi,

    Yes, you can easily change the widget generating code, just look at our trac site (trac.transposh.org), really simple

    Good luck

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Transposh WordPress Translation
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.