Multi language site

  • Author
    Posts
  • #11296
    Kremena Dimitrova

    Hi there,

    I am using the Parabola theme and I think it’s awesome.

    I’m just wondering, can I make my site in more then one language, as in Bulgarian and English?

    Any help will be appreciated!

    Best regards,
    Kremena

    #11361
    Kremena Dimitrova

    …and I’ve now used the plugin Polylang.

    I have translated all posts and pages except the presentation page.

    Can you tell me please how can I do that?

    Thanks in advance…

    #11381
    Kremena Dimitrova

    …anyone…..I really need help! 🙁
    Please!

    #11548
    Zed
    Cryout Creations mastermind

    Because of the way how content of the presentation page is saved, it does not support translations.

    If you want a multi-language site, you’ll have to not use the presentation page.


    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
    #11756
    QuaintJames

    Hey Kremena – all is not necessarily lost. You could use javascript to replace any custom text you add in on the presentation page. It’s not a perfect solution, but it’s something. For me it’s that or abandon the template – and it’s a good template.

    #12595
    Nicographx

    Hey QuaintJames,

    nice idea ! But I don’t know a lot about javascript. Did you have any infomation about ? How to ?

    Thanks.

    #12621
    Alex

    Hi Zed,

    I do not use the presentation page on my website, but use the magazine layout, and Polylang plugin for translations.
    The main language is English, the second Italian.
    I wrote some articles that in the magazine layout appear in Italics and the same happens for some widgets on the right bar.
    Is there any way to fix it?
    Thanks

    #12666
    MrAwesome

    I had the same issues. However, I solve most of them. Let me explain.

    I use qTranslate, wich works quite well except for one thing: slugs and (I think because I don’t use it) tags can’t be translated. Despite this, you can manage to translate everything.

    There is a “shortcode” you can use. Imagine you have tree languages (en, es, pt). The tittle of a widget can be translate by putting “[:en]English Text[:es]Spanish Text[:pt]Other Language”. It works fine. This can be used along all the theme options text areas.

    Regarding the front page and what Zed says, we have a problem with the links. If you put “[:en]http://en.blabla.com[:es]http://es.blabla.com[:pt]http://pt.blabla.com” or whatever, it will not work as this doesn’t validate an URL and the link will not be saved. You will have to edit the files /parabola/admin/sanitize.php and /parabola/admin/settings.php and remove the esc_url_xx() functions of desiged configuration fields. For instance, in sanitize.php, for the URL of the columns of the front page, comment the line:

    $input[‘parabola_columnlink1’] = esc_url_raw($input[‘parabola_columnlink1’]);

    This is just an brief comments, but hope this help.

    Regards,
    MrAwesome

    PD: Best option is to use a child theme, I know…
    PD2: Great theme!
    PD3: The theme can include this tricks by default! 😉

    #12696
    Zed
    Cryout Creations mastermind

    That is indeed a good trick. I did not use qTranslate before.

    Unfortunately, concerning PD3, we cannot do that. The theme would no longer get approved by WordPress if it does not perform proper sanitization of input URLs.


    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
Viewing 9 posts - 1 through 9 (of 9 total)

The topic ‘Multi language site’ is closed to new replies.