michalc
Forum Replies Created
-
Forum: Plugins
In reply to: [Complianz - GDPR/CCPA Cookie Consent] “Always active” translationOk & thank you!
Czech translation file for Complianz on the same website works and i have no clue why the german one doesn’t. (Move “always active” among another strings in Polylang would make sense in future updates).
Michal
Forum: Plugins
In reply to: [Complianz - GDPR/CCPA Cookie Consent] “Always active” translationI’ve already checked it. And the translations are (and were) in the .mo file => /wp-content/languages/plugins/complianz-gdpr-de_DE.mo.
So must be caused by something else. I just can’t figure out the reason.
Forum: Plugins
In reply to: [Complianz - GDPR/CCPA Cookie Consent] “Always active” translationI tried, but still doesn’t work. I use de_DE locale (not “formal”).
Forum: Plugins
In reply to: [Complianz - GDPR/CCPA Cookie Consent] “Always active” translationHi @jarnovos, thanks for your reply.
CZ translation is OK now. But in DE version it’s still in english and I can’t figure out the reason. I’ve also checked DE translation with Loco and the right translation “Immer aktive” in complianz-gdpr-de_DE.po file is present.
complianz-gdpr-de_DE.mo/.po files are placed in /wp-content/languages/plugins/, both WP and browser cache is cleared.
Forum: Themes and Templates
In reply to: [Personal Eye] Mobile menuSince theme’s author haven’t responded, I had to resolve it myself. So if someone else needs the solution:
1) add this to header.php:
<script type=”text/javascript”>
var $ = jQuery.noConflict();
$(document).ready(function(){
$(‘.navbar-header button’).on(‘click’, function(e) {
$(‘.mainmenu nav.navbar-collapse’).toggleClass(‘show’);
});
});
</script>2) add this to style.css:
.mainmenu nav.navbar-collapse.show {
opacity: 1;
visibility: visible;
}Forum: Plugins
In reply to: [Simple Cache] Fatal error after last updateSeems that v 1.7.0 isn’t compatible with PHP > 5.3.
Forum: Plugins
In reply to: [WF Cookie Consent] Cookie bar visible just on homepageSolved. I just switched off and on i-themes security plugin. And all of sudden it goes. IT crowd rules 🙂
Forum: Plugins
In reply to: [List category posts] Same thing but for TagsYes it is! At least in version 0.70.
Just use [catlist tags=”yourtag1,yourtag2″] for OR logic,
[catlist tags=”yourtag1+yourtag2″] for AND logic. Plus any other plugin parameters of your choice.Forum: Themes and Templates
In reply to: [Blogsonry] TranslationThat’s it! Thank you!
Forum: Themes and Templates
In reply to: [Blogsonry] TranslationSure. It’s not the matter of .mo version – it works even with the older one placed to /wp-content/languages/. Doesn’t work if i place it to /wp-content/themes/blogsonry/languages/.
So I guess there is something wrong with the recommendedfunction my_child_theme_locale() {
load_child_theme_textdomain(‘blogsonry’, get_stylesheet_directory() . ‘/languages’);
}
add_action(‘after_setup_theme’, ‘my_child_theme_locale’);Forum: Themes and Templates
In reply to: [Blogsonry] TranslationAs I wrote in my first post, my language file is named “blogsonry-cs_CZ.mo”.
As I wrote in my second post, it works, if I place language file to /wp-content/languages/.But it didn’t work if I place language file to /wp-content/themes/blogsonry/languages/ and
function my_child_theme_locale() {
load_child_theme_textdomain(‘blogsonry’, get_stylesheet_directory() . ‘/languages’);
}
add_action(‘after_setup_theme’, ‘my_child_theme_locale’);in functions.php in blogsonry folder.
Forum: Themes and Templates
In reply to: [Blogsonry] TranslationStill doesn’t work. What I’ve done:
a) placed the language files to /wp-content/themes/blogsonry/languages/
b) placed
function my_child_theme_locale() {
load_child_theme_textdomain(‘blogsonry’, get_stylesheet_directory() . ‘/languages’);
}
add_action(‘after_setup_theme’, ‘my_child_theme_locale’);into functions.php in /wp-content/themes/blogsonry/
c) placed
define(‘WPLANG’, ‘cs_CZ’);
into wp-config.php (and i have czech version of WP installed).What’s wrong?
Translation works only if I place the language files to /wp-content/languages/.