Viewing 8 replies - 1 through 8 (of 8 total)
  • chrisjinks

    (@chrisjinks)

    Hi Betty,

    The language is taken from the WordPress database option of ‘rss_language’ not sure how you update this from the WordPress dashboard?

    You can either:

    Change the value in the MySQL database to nl.

    -or-

    Modify line 177 of the file google-news-sitemap.php from “$xmlOutput.= get_option(‘rss_language’);” to “$xmlOutput.= nl;”.

    Hopefully with the next update I will add this as an option in the WordPress Plugin control panel.

    Chris.

    chrisjinks

    (@chrisjinks)

    * Sorry, should be: “$xmlOutput.= “nl”;” for the modification. *

    Thread Starter jojobetty

    (@jojobetty)

    Thank you Chris! We will try:)

    Thread Starter jojobetty

    (@jojobetty)

    Not working, we are doing something wrong, I know. But after we did what you said, we get an error. So we are afraid to try it again.

    The solution is pretty simple: Go to yourdomain.com/wp-admin/options.php and change the value for rss_language to nl (or what ever language you desire).

    Franz

    hi!
    I’ve just installed tis plug in and it looks nice! I’d like to change the default language, I’ve taken a look inside the file options.php but “rss_language” doesn’t exists, neither in opstion_general.php.

    Do you know where can I find it? Thank you in advance

    fneumeier is correct, put the following URL into your web browser (replacing https://www.yourdomain.com for your actual domain name ). Do not open the PHP file as it is not in the code.

    https://www.yourdomain.com/wp-admin/options.php

    Search for rss_language and change it to the 2 letter code of your desired language.

    List of language codes here.

    Done! Danke schoen! ??

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Plugin: Google News Sitemap Generator] How can I change the language, our site is Dutch!’ is closed to new replies.