Raz
Forum Replies Created
-
Forum: Plugins
In reply to: [WPFront Notification Bar] Internationalize the message URLI never used his plugin sorry man 🙂
So, you should have “somewhere” 3 fields ready to be translated in both languages:
– The message
– The button text
– The button URLAsk for WPML support website – show them the snippet and they’ll you where to translate these strings.
Forum: Plugins
In reply to: [WPFront Notification Bar] Internationalize the message URLOkay
This update will allow you to see the entries in your plugin 🙂
BTW – not related to this issue, how many pages/ articles do you have on your website, and does WPML affect the performance? I’m curious because I’m using Polylang.
Feel free to reach me via message
CheersForum: Plugins
In reply to: [WPFront Notification Bar] Internationalize the message URLtemplates/notification-bar-template.php (Line 95 to 121)
Forum: Plugins
In reply to: [WPFront Notification Bar] Internationalize the message URLNotice that every update of the plugin will remove the manual changes; until the plugin developper updates it 🙂
Forum: Plugins
In reply to: [WPFront Notification Bar] Internationalize the message URLCheck my original post -the second snippet.
Forum: Plugins
In reply to: [WPFront Notification Bar] Internationalize the message URLHowdy Vadim, are you using a multilingual plugin to accomplish that? If now, how do you manage the two languages right now?
Forum: Plugins
In reply to: [WPFront Notification Bar] Internationalize the message URLHi Syam,
did you have a chance to look at gettex?
thanks 🙂Forum: Plugins
In reply to: [WPFront Notification Bar] Internationalize the message URLHa this is a smart one 🙂
thanks for sharing.Hi,
I tried the two suggestions, but it didn’t change anything.
Actually, when I refreshed, I still had the CSS missing, despite the fact that it was the default cache directory, this is really weird.Here is the root .htaccess:
#RAZ 09302015 <FilesMatch "(\.css)$"> AddType text/css .css Header set Content-Type text/css </FilesMatch> # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule .* - [E=noabort:1] RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress <IfModule mod_headers.c> Header set Access-Control-Allow-Origin "*" </IfModule> <IfModule deflate_module> <IfModule filter_module> AddOutputFilterByType DEFLATE text/plain text/html AddOutputFilterByType DEFLATE text/xml application/xml application/xhtml+xml application/xml-dtd AddOutputFilterByType DEFLATE application/rdf+xml application/rss+xml application/atom+xml image/svg+xml AddOutputFilterByType DEFLATE text/css text/javascript application/javascript application/x-javascript AddOutputFilterByType DEFLATE font/otf font/opentype application/font-otf application/x-font-otf AddOutputFilterByType DEFLATE font/ttf font/truetype application/font-ttf application/x-font-ttf </IfModule> </IfModule>Thanks!
I’m using the Litespeed web server.
No nginx around 🙂It’s a regular installation.
It’s working when it’s the default directory 😀
Here’s the .htaccess from the default cache directory:
# BEGIN BWP Minify Rules # BEGIN BWP Minify Headers <Files "*.js.gz"> ForceType application/x-javascript </Files> <Files "*.css.gz"> ForceType text/css </Files> <IfModule mod_mime.c> AddEncoding gzip .gz AddCharset utf-8 .js .css </IfModule> <IfModule mod_deflate.c> <IfModule mod_setenvif.c> SetEnvIfNoCase Request_URI "\.gz$" no-gzip </IfModule> </IfModule> <IfModule mod_headers.c> Header set Cache-Control "public, max-age=86400" Header set Vary "Accept-Encoding" Header unset ETag </IfModule> # END BWP Minify Headers <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTP:Accept-Encoding} gzip RewriteRule .* - [E=ZIP_EXT:.gz] RewriteCond %{HTTP:Cache-Control} !no-cache RewriteCond %{HTTP:If-Modified-Since} !no-cache RewriteCond %{REQUEST_FILENAME}%{ENV:ZIP_EXT} -f RewriteRule (.*) $1%{ENV:ZIP_EXT} [L] RewriteRule ^minify-b(\d+)-([a-zA-Z0-9-_.]+)\.(css|js)$ /index.php?blog=$1&min_group=$2&min_type=$3 [L] </IfModule> # END BWP Minify Rules <Limit POST PUT DELETE> Order Allow,Deny Deny from All </Limit>And the one from the other directory:
# BEGIN BWP Minify Rules # BEGIN BWP Minify Headers <Files "*.js.gz"> ForceType application/x-javascript </Files> <Files "*.css.gz"> ForceType text/css </Files> <IfModule mod_mime.c> AddEncoding gzip .gz AddCharset utf-8 .js .css </IfModule> <IfModule mod_deflate.c> <IfModule mod_setenvif.c> SetEnvIfNoCase Request_URI "\.gz$" no-gzip </IfModule> </IfModule> <IfModule mod_headers.c> Header set Cache-Control "public, max-age=86400" Header set Vary "Accept-Encoding" Header unset ETag </IfModule> # END BWP Minify Headers <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTP:Accept-Encoding} gzip RewriteRule .* - [E=ZIP_EXT:.gz] RewriteCond %{HTTP:Cache-Control} !no-cache RewriteCond %{HTTP:If-Modified-Since} !no-cache RewriteCond %{REQUEST_FILENAME}%{ENV:ZIP_EXT} -f RewriteRule (.*) $1%{ENV:ZIP_EXT} [L] RewriteRule ^minify-b(\d+)-([a-zA-Z0-9-_.]+)\.(css|js)$ /index.php?blog=$1&min_group=$2&min_type=$3 [L] </IfModule> # END BWP Minify RulesI checked, and the rules have been created int the .htaccess filee
ha!
It was related to the option “Enable friendly Minify urls”
When I turn it off, the files are now properly created.
Perhaps a bug here, same problem as here it looks like:
https://wordpress.org/support/topic/bwm-and-wp-engine-compatibility?replies=8Hey,
so I re-enabled it back and I’ve noticed that I have some cached files in the “cache” directory, but the CSS don’t get created.
It’s strange.
I’ve been able to flush the cache (all files were removed), but upon refresh, they don’t get rerecreated.
Chmod is 755Forum: Plugins
In reply to: [WPFront Notification Bar] Internationalize the message URLHi Syam,
sorry, I didn’t see you reply.As I was doing some reading on ITL, once you “gettex” your strings,
https://codex.wordpress.org/I18n_for_WordPress_DevelopersAny system that manage multilingual will be able to “extract” your strings for translation in any system that manage multilingual sites. The system will extract your “domain” and all strings that can be translated for it.
Hope that makes sense! 🙂