Home Forums Weaver Show Posts & Show Sliders Localization of Weaver Show Posts Re: Localization of Weaver Show Posts

#30310
Josef
Participant

I want to localize the text string ‘No posts found.’ which shows on front-end when there are no posts to show as to the filter.
I added ‘/languages’ folder to the plugin (which is not present in downloaded plugin).
I put ‘show-posts-cs_CZ.mo’ into it, the .po is this:

# Translation in Czech
# This file is distributed under the same license as the package.
msgid ""
msgstr ""
"PO-Revision-Date: 2016-08-15 21:55+0200n"
"MIME-Version: 1.0n"
"Content-Type: text/plain; charset=UTF-8n"
"Content-Transfer-Encoding: 8bitn"
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;n"
"X-Generator: Poedit 1.8.7.1n"
"Project-Id-Version: 4.4.xn"
"POT-Creation-Date: n"
"Last-Translator: Josef Prause <josef.prause@gmail.com>n"
"Language-Team: n"
"Language: cs_CZn"

#:
msgid "No posts found."
msgstr "Žádné příspěvky."

My answer is:     the string is not translated, i.e. the above doesn’t work.


Note: at the plugin’s translation page there is a message:
 ‘This plugin is not properly prepared for localization. If you would like to translate this plugin, please contact the author.’