• Resolved klementime

    (@klementime)


    Hi,
    is there a chance to translate some of the data the widget shows? We’d like to translate “views” to our language but have troubles with it.

    Thanks for your help

    Klemen

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Hector Cabrera

    (@hcabrera)

    Hi Klemen,

    Yep. Try this.

    Thread Starter klementime

    (@klementime)

    Hi, we still have problems. In the link you pasted there is /wp-content/languages/plugins/ – but we can’t seem to find it. It’s the other way around… plugins/languages. When we copy the new language file to this folder nothing happens.

    Any ideas?

    Thanks

    Plugin Author Hector Cabrera

    (@hcabrera)

    That’s odd. The languages folder should be in wp-content. That’s where WordPress stores all of its translation files. What version of WordPress are you using over there?

    Thread Starter klementime

    (@klementime)

    Hi, we’re using the latest 4.9.8 version. This is what we have – should we correct the si_SI.po file?

    /wp-content/languages # ll total 1,7M
    44K -rw-r–r–. 1 apache apache 44K okt 25 11:24 admin-network-sl_SI.mo
    60K -rw-r–r–. 1 apache apache 60K okt 25 11:24 admin-network-sl_SI.po
    348K -rw-r–r–. 1 apache apache 345K okt 25 11:24 admin-sl_SI.mo
    484K -rw-r–r–. 1 apache apache 481K okt 25 11:24 admin-sl_SI.po
    20K -rw-r–r–. 1 apache apache 20K okt 25 11:24 continents-cities-sl_SI.mo
    44K -rw-r–r–. 1 apache apache 43K okt 25 11:24 continents-cities-sl_SI.po
    240K -rw-r–r–. 1 apache apache 239K dec 5 14:07 sl_SI.mo
    412K -rw-r–r–. 1 apache apache 411K dec 5 14:07 sl_SI.po

    Plugin Author Hector Cabrera

    (@hcabrera)

    This is how your languages folder should look like:

    Languages folder structure

    Try this:

    1. Go to Dashboard > Updates.
    2. WordPress should detect that your languages folder is either empty or missing and so it’ll display a “Update Translations” button. Click on it and WordPress will download all missing translations and folders.
      Update Translations button
    3. After it’s done, your languages folder should look similar to the image from above. If so, place both wordpress-popular-posts-sl_SL.mo and wordpress-popular-posts-sl_SL.po files inside the languages/plugins folder as instructed.

    That should do it.

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

The topic ‘Widget Translation’ is closed to new replies.