WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Sidebar Widgets in Dual Language with Polyglot (4 posts)

  1. Arnoud
    Member
    Posted 6 years ago #

    I am building a new theme using a dynamic sidebar.
    Previously I've translated the sidebar using GetText.
    This doesn't work for the dynamic sidebar anymore.

    For example:
    <?php wp_list_pages('title_li=<h2>' . __('Pages') . '</h2>' ); ?>

    Would reslut in:
    NL: Pagina's
    EN: Pages

    Since this code isn't used anymore for the dynamic sidebar I've tried to Design the Widget using the traditional way to setup dual languages for a post:

    [lang_nl]Pagina's[/lang_nl]
    [lang_en]Pages[/lang_en]

    This however doesn't result in just the language being displayed but the whole code.

    Does anyone have an idea how I can use the widgetised sidebar with dual language?

  2. Arnoud
    Member
    Posted 6 years ago #

    Anyone?

  3. Arnoud
    Member
    Posted 6 years ago #

    really no one who has this same issue?
    I can't imagine no one else uses dual language in the sidebar!

  4. Arnoud
    Member
    Posted 6 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.