Forums

[resolved] Multi lingual Blog (8 posts)

  1. Udo Schmitz
    Member
    Posted 1 year ago #

    Right now my website is bi-lingual, using PHP. Depending on your OS-/browser-settings an english or german version is displayed. Now I want to rebuild it using WordPress. I chose "Constellation" as theme and qTranslate for posts. The bilingual posting works fine. But how do I best approach the translation of all the other elements? I guess, with WordPress being PHP-based, I can't just glue on the PHP I use now? Is there another plugin for this?

  2. http://wpml.org/ perhaps? Though it's a commercial (i.e. pay for it) plugin.

  3. Udo Schmitz
    Member
    Posted 1 year ago #

    http://wpml.org/ perhaps?

    I really like how qTranslate handles the multi-lingual postings, so I'm looking more for a solution for the rest of the site. About money ... yeah, my budget for the site at the moment is my free time :)

    I'll google some more ...

  4. Udo Schmitz
    Member
    Posted 1 year ago #

    Hmm, very slowly it dawns on me that qTranslate may already support this:

    http://www.qianqin.de/qtranslate/forum/viewtopic.php?f=3&t=9

    http://www.qianqin.de/qtranslate/forum/viewtopic.php?f=3&t=3#p14

    I just wish there was a how-to somewhere ... :)

  5. keesiemeijer
    moderator
    Posted 1 year ago #

    for plugins themes and WordPress itself you can also use this plugin: http://wordpress.org/extend/plugins/codestyling-localization/

  6. Udo Schmitz
    Member
    Posted 1 year ago #

    Thanks for the answer, but I'm not really sure if I need that ... WordPress itself has localization for german already ... and to hopefully clear up what I'm trying to, this is what I just posted in the qTranslate-Forum at

    http://www.qianqin.de/qtranslate/forum/viewtopic.php?f=3&t=2286:

    -----------
    If I understand correctly, qTranslate not only can take care of my multi-lingual posts, but also translate the rest of the site? As described in:

    http://www.qianqin.de/qtranslate/forum/viewtopic.php?f=3&t=3&p=15#p15

    So, for example my chosen html5-template "Constellation" has this in "sidebar.php":

    <h3 class="widget-title">How awesome is this poll?</h3>

    And I'll change it to:

    <h3 class="widget-title"><!--:en-->How awesome is this poll?<!--:--><!--:de-->Wie abgefahren ist denn diese Umfrage?<!--:--></h3>

    But ... I'm sure I'll have to add some PHP at the beginning of "sidebar.php" for this to work?

  7. Udo Schmitz
    Member
    Posted 1 year ago #

    Got my answer in qTranslate forum. Appearantly it's:

    <?php _e("<!--:en-->english text<!--:--><!--:de-->german text<!--:-->"); ?>

    which is also from the qTranslate-FAQ.

  8. ywamer
    Member
    Posted 11 months ago #

    You can also make use of these easier-to-use shortcodes as well:

    [:en]English text [:de]german text

Topic Closed

This topic has been closed to new replies.

About this Topic