Support

Search results for ""

Sorry, no results found. Perhaps you would like to search the community forum?
All Topics
Stefano

Filtering conditions language

Hi,

is it possible to translate filter conditions in another language than English?

Now when I build a custom filter on top of posts list, it says “contains, not contains, greater than, smaller than” etc…

I know English language and for me it is not a problem, but some users say “what does this means???”.

And of course a user interface half in Italian and half in English it does not look beautiful.

Thanks

3 months ago
Stefan
Developer

Hi Stefano,

Thanks for your message.
Admin Columns can be translated, but this is completely done by the community.
Admin Columns Pro contains two translation files:

– Translation for the Free version which is included in Admin Columns Pro
The translation for the free version are managed on WordPress.org ( https://translate.wordpress.org/locale/it/default/wp-plugins/codepress-admin-columns ) and can be translated by anyone. The translation filed (.mo) goes into the following directory
/wp-content/languages/plugins/codepress-admin-columns-{local}.mo

– Translation for the string specifically in the Pro version
These translation are managed on Transifex ( https://www.transifex.com/codepress/admin-columns-pro ) and you need an account to translate the strings there. All translations are fetched for every release we do. But you can do your own translation and put the file in the following directory
/wp-content/plugins/admin-columns-pro/languages/codepress-admin-columns-{locale}.mo

The filter conditions are part of the pro version so that’s the place to look for.

3 months ago
Stefano

Hi Stefan,

thankyou for your fast answer.

The text I need to translate are contained in Javascript that is not managed by .mo and .po files.

I already tried to use Poedit or Loco plugin but these strings are hard-coded in Javascript.

How can we do?

Thanks!

3 months ago
Stefan
Developer

The strings you’re talking about ( “contains, not contains, greater than, smaller than”) are indeed in the javascript, but we use localize_script to manage it in PHP. All those strings should be translatable on Transifex except for one string ‘Add Filter’ which will be translatable for the next version we release.

3 months ago

You must be logged in to reply to this topic.