News:

Looking for documentation? Take a look on our wiki

Main Menu

Multilanguage flags css problem - v.2.0.22c

Started by nrap, September 04, 2013, 15:54:29 PM

Previous topic - Next topic

guidocx842

For me the downgrade to 2.0.22b solve the multilanguage problem but not the css flag problem. But in my opinion that were the minus problem so I remain on 2.0.22b by now  ;)

lexius

I have a 2.0.22b, 2.0.22c (and new config.php) and 2.0.22d (http://dev.virtuemart.net/projects/virtuemart/files) does not work!
I has returned back to 2.0.22a - it works perfect.

CE WebDesign München

CE WebDesign München: https://ce-webdesign.de | Websites, eCommerce WebShops | Responsive Design | SEO

lindapowers

#18
downgrade to an insecure version is not a solution.

I installed D and the translations seem to work however there's a bit of a mess with the backend flags, I have 4 languages:

English: shows no flag
French: shows french flag:
Catalan: shows spanish flag
Spanish: shows spanish flag too

Don't know how or where exactly affects that.

PHP 5.3.26

Regards

ffredt

Quote from: Milbo on September 06, 2013, 16:23:56 PM
thx, also fixed, I fear we must release a D version.

Works for me
Thanks a lot
Fred

lexius

Quote from: gogo123 on September 10, 2013, 17:25:42 PM
please look here too (php-version/editor):
http://forum.virtuemart.net/index.php?topic=118597.msg402309#msg402309
I did a clean install of Joomla 2.5.14 and  installed Virtuemart2.0.22d. Multilanguage is not working. It only works with version 2.0.22a.
I have three languages​​: Russian (main), English and Estonian.
System Information:
PHP Built On    Linux sn19 2.6.39-400.109.1.el5uek #1 SMP Tue Jun 4 23:15:07 PDT 2013 x86_64
Database Version    5.6.12-log
Database Collation    utf8_general_ci
PHP Version    5.3.27
Web Server    Apache/2.2.25/DataZone SP (Unix) mod_zfpm/0.2
WebServer to PHP Interface    cgi-fcgi
Joomla! Version    Joomla! 2.5.14 Stable [ Ember ] 01-August-2013 14:00 GMT
Joomla! Platform Version    Joomla Platform 11.4.0 Stable [ Brian Kernighan ] 03-Jan-2012 00:00 GMT
User Agent    Mozilla/5.0 (Windows NT 6.1; rv:25.0) Gecko/20100101 Firefox/25.0

tevfikyazici

I think there are two different problem in this thread.
1. Can not add second language text to db.
2. GB image can not be displayed.

com_virtuemart.2.0.22d release fixes first problem. But second problem still continues. To fix second problem please add below line to JROOT\administrator\components\com_virtuemart\assets\css\menü_images.css file.

td.flag-gb,.flag-gb{ background: url(../images/flag/gb.png) no-repeat 0 0; padding-left:20px !important;}

lexius

Quote from: tevfikyazici on September 15, 2013, 16:59:17 PM
I think there are two different problem in this thread.
1. Can not add second language text to db.
2. GB image can not be displayed.

com_virtuemart.2.0.22d release fixes first problem. But second problem still continues. To fix second problem please add below line to JROOT\administrator\components\com_virtuemart\assets\css\menü_images.css file.

td.flag-gb,.flag-gb{ background: url(../images/flag/gb.png) no-repeat 0 0; padding-left:20px !important;}

Thank you very much for your answer! Do you really understood the situation correctly and your reply helped me fix the problem.
I've added two line:
td.flag-gb,.flag-gb{ background: url(../images/flag/gb.png) no-repeat 0 0; padding-left:20px !important;}
and
td.flag-ee,.flag-ee{ background: url(../images/flag/et.png) no-repeat 0 0; padding-left:20px !important;}

Now everything is working properly, I can create a translation into another language.
Once again, thank you very much!

alatak

Hello

QuoteI've added two line:
td.flag-gb,.flag-gb{ background: url(../images/flag/gb.png) no-repeat 0 0; padding-left:20px !important;}
and
td.flag-ee,.flag-ee{ background: url(../images/flag/et.png) no-repeat 0 0; padding-left:20px !important;}
actually if EE is the country code of Estonia (http://countrycode.org/estonia), it is a problem also with the flag name. I have renamed the flag. and added this
td.flag-ee,.flag-ee{ background: url(../images/flag/ee.png) no-repeat 0 0; padding-left:20px !important;}


CE WebDesign München

Hello and thanks for adding this,
sorry for being late, but I think flags are missing for en-US and en-AU (and maybe others too)
(maybe there should be as much css-lines as there are flags?)
CE WebDesign München: https://ce-webdesign.de | Websites, eCommerce WebShops | Responsive Design | SEO

alatak

Hello

Quotesorry for being late, but I think flags are missing for en-US and en-AU (and maybe others too)
yes you are right, i've added them also

Quote(maybe there should be as much css-lines as there are flags?)
we have our own flags, because we did that for Joomla 1.5
But actually, we should use the flags settings from joomla, the ones that are defined in extensions > language manager > content > image prefix.
I will fix that for a later version

CE WebDesign München

Thanks again,
using the joomla flags settings will be great,

maybe br and/or pt-br have an issue too...

not shure if these are typos?
td.flag-ga,.flag-gb
td.flag-hans,.flag-hant

and "Catalan: shows spanish flag" (see lindapowers post above) seems to be a different issue?


CE WebDesign München: https://ce-webdesign.de | Websites, eCommerce WebShops | Responsive Design | SEO

alatak

#27
Hello
Quotemaybe br and/or pt-br have an issue too...
no those ones have been fixed

Quotenot shure if these are typos?
td.flag-ga,.flag-gb
td.flag-hans,.flag-hant
i don't know actually, because i don't what are those countries

Quoteand "Catalan: shows spanish flag" (see lindapowers post above) seems to be a different issue?
This is correct, because the language is
Language: Catalan (ca-ES)
and it is country flag which is displayed.

Using the flag settings from Joomla language settings should solve all the flag problems


CE WebDesign München

CE WebDesign München: https://ce-webdesign.de | Websites, eCommerce WebShops | Responsive Design | SEO

alatak

Hello

I have fixed the flag issue. Now it uses the flag image defined in Joomla: Language manager > Content > image
Those are the flags used on the front end by the module Language Switcher.