Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter lyjbupt

    (@lyjbupt)

    @gunu Thanks for you reply!

    I find a strange phenomenon with this theme.
    The content can be translated only once and only at the very first time.

    I can see the value in database is changed after setting [:nl]Zoek…[:en]Search… in the customized field and click save changes.

    Later I refresh the site, the content can change together with language only the first time. After that the value in database was updated as last time it was using.

    Do you have any clue about this? Or is this following the integration guild?

    Hello Clause and Gunu:

    I was using theme adventurous and wanted to get one custom field translated.

    I changed original adventurous-promotion-headlines.php
    from:

    $adventurous_homepage_headline .= '<h2>' . $homepage_headline . '</h2>';
    to:

    $adventurous_homepage_headline .= '<h2>' . sprintf( __('%s', 'adventurous' ), $homepage_headline ) . '</h2>';

    And used [:en]English[:zh]中文 in the field. Seems no use.

    Can you help here?

Viewing 2 replies - 1 through 2 (of 2 total)