Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter unicaz

    (@unicaz)

    Hi there!!

    Thank you so much for your ideas but finally I fixed the problem doing something very simple, for me:

    I added a new language in Polylang (I added French but this really doesn’t matter) and I change the name into Nederlands and the flag also.

    Later I change all my code with “nl-NL” into “fr-FR” and all my listings, posts and pages into the new (fake)Nederlands language and it works!!! You can check it on my site: http://www.longletsbenidorm.es

    I’m sooooo happy!!

    This topic can be closed and thank you again for your attention.

    Kind regards,

    Thread Starter unicaz

    (@unicaz)

    Yes, of course!!

    When you visit our homepage, if you do it en English or Spanish you find a very short welcome message: WELCOME! in English; BIENVENID@S!in Spanish but nothing appears when you see the homepage in Dutch. I use this code to manually translate the strings that I can’t translate using polyland due to the theme I’m using:

    <?php $currentlang = get_bloginfo(‘language’);
    if($currentlang==”es-ES”):?>
    <h1>!BIENVENID@S¡</H1>
    <?php else: ?>

    <?php $currentlang = get_bloginfo(‘language’);
    if($currentlang==”nl-NL”):?>
    <h1>WELKOM!</H1>
    <?php else: ?>

    <?php $currentlang = get_bloginfo(‘language’);
    if($currentlang==”en-GB”):?>
    <h1>WELCOME!</H1>

    <?php endif; ?>
    <?php endif; ?>
    <?php endif; ?>

    Thread Starter unicaz

    (@unicaz)

    Hello,

    Thanks for your efforts but nothing happened! I did what you told me. I downloaded the files and change the name like you told me and uploaded them to my wordpress file wp-content/languages/plugins but still all my Dutch translations are missed.
    You can check it by yourself visiting the web: http://www.longletsbenidorm.es
    Kind regards.

    Thread Starter unicaz

    (@unicaz)

    Hello!
    No, I have no updates waiting to be installed. I have a file in WordPress called “Languages” and inside I have English, Spanish and Nederlands but I didn’t see .po and .mo files in the Polylang’s plugin file called “Languages” so that’s why I think the problem will be solved if somebody cal provide me the .mo and .po docs and I will install them (polylang-nl_NL.mo and polylang-nl_NL.po) into the file “languages” in Polylang’s plugin. Kind regards.

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