Version Description
- Major changes
- Added missing flags, so all 104 languages have flags now
- New 48px size flags added
- New widget look added Flags and Language name
- New widget look added Flags and Language code
- New widget look added Language names
- New widget look added Language codes
Download this release
Release Info
| Developer | edo888 |
| Plugin | |
| Version | 2.8.9 |
| Comparing to | |
| See all releases | |
Code changes from version 2.8.8 to 2.8.9
- flags/16/af.png +0 -0
- flags/16/am.png +0 -0
- flags/16/ar.png +0 -0
- flags/16/az.png +0 -0
- flags/16/be.png +0 -0
- flags/16/bg.png +0 -0
- flags/16/bn.png +0 -0
- flags/16/bs.png +0 -0
- flags/16/ca.png +0 -0
- flags/16/ceb.png +0 -0
- flags/16/co.png +0 -0
- flags/16/cs.png +0 -0
- flags/16/cy.png +0 -0
- flags/16/da.png +0 -0
- flags/16/de.png +0 -0
- flags/16/el.png +0 -0
- flags/16/en-us.png +0 -0
- flags/16/en.png +0 -0
- flags/16/eo.png +0 -0
- flags/16/es-mx.png +0 -0
- flags/16/es.png +0 -0
- flags/16/et.png +0 -0
- flags/16/eu.png +0 -0
- flags/16/fa.png +0 -0
- flags/16/fi.png +0 -0
- flags/16/fr.png +0 -0
- flags/16/fy.png +0 -0
- flags/16/ga.png +0 -0
- flags/16/gd.png +0 -0
- flags/16/gl.png +0 -0
- flags/16/gu.png +0 -0
- flags/16/ha.png +0 -0
- flags/16/haw.png +0 -0
- flags/16/hi.png +0 -0
- flags/16/hmn.png +0 -0
- flags/16/hr.png +0 -0
- flags/16/ht.png +0 -0
- flags/16/hu.png +0 -0
- flags/16/hy.png +0 -0
- flags/16/id.png +0 -0
- flags/16/ig.png +0 -0
- flags/16/is.png +0 -0
- flags/16/it.png +0 -0
- flags/16/iw.png +0 -0
- flags/16/ja.png +0 -0
- flags/16/jw.png +0 -0
- flags/16/ka.png +0 -0
- flags/16/kk.png +0 -0
- flags/16/km.png +0 -0
- flags/16/kn.png +0 -0
- flags/16/ko.png +0 -0
- flags/16/ku.png +0 -0
- flags/16/ky.png +0 -0
- flags/16/la.png +0 -0
- flags/16/lb.png +0 -0
- flags/16/lo.png +0 -0
- flags/16/lt.png +0 -0
- flags/16/lv.png +0 -0
- flags/16/mg.png +0 -0
- flags/16/mi.png +0 -0
- flags/16/mk.png +0 -0
- flags/16/ml.png +0 -0
- flags/16/mn.png +0 -0
- flags/16/mr.png +0 -0
- flags/16/ms.png +0 -0
- flags/16/mt.png +0 -0
- flags/16/my.png +0 -0
- flags/16/ne.png +0 -0
- flags/16/nl.png +0 -0
- flags/16/no.png +0 -0
- flags/16/ny.png +0 -0
- flags/16/pa.png +0 -0
- flags/16/pl.png +0 -0
- flags/16/ps.png +0 -0
- flags/16/pt-br.png +0 -0
- flags/16/pt.png +0 -0
- flags/16/ro.png +0 -0
- flags/16/ru.png +0 -0
- flags/16/sd.png +0 -0
- flags/16/si.png +0 -0
- flags/16/sk.png +0 -0
- flags/16/sl.png +0 -0
- flags/16/sm.png +0 -0
- flags/16/sn.png +0 -0
- flags/16/so.png +0 -0
- flags/16/sq.png +0 -0
- flags/16/sr.png +0 -0
- flags/16/st.png +0 -0
- flags/16/su.png +0 -0
- flags/16/sv.png +0 -0
- flags/16/sw.png +0 -0
- flags/16/ta.png +0 -0
- flags/16/te.png +0 -0
- flags/16/tg.png +0 -0
- flags/16/th.png +0 -0
- flags/16/tl.png +0 -0
- flags/16/tr.png +0 -0
- flags/16/uk.png +0 -0
- flags/16/ur.png +0 -0
- flags/16/uz.png +0 -0
- flags/16/vi.png +0 -0
- flags/16/xh.png +0 -0
- flags/16/yi.png +0 -0
- flags/16/yo.png +0 -0
- flags/16/zh-CN.png +0 -0
- flags/16/zh-TW.png +0 -0
- flags/16/zu.png +0 -0
- flags/24/af.png +0 -0
- flags/24/am.png +0 -0
- flags/24/ar.png +0 -0
- flags/24/az.png +0 -0
- flags/24/be.png +0 -0
- flags/24/bg.png +0 -0
- flags/24/bn.png +0 -0
- flags/24/bs.png +0 -0
- flags/24/ca.png +0 -0
- flags/24/ceb.png +0 -0
- flags/24/co.png +0 -0
- flags/24/cs.png +0 -0
- flags/24/cy.png +0 -0
- flags/24/da.png +0 -0
- flags/24/de.png +0 -0
- flags/24/el.png +0 -0
- flags/24/en-us.png +0 -0
- flags/24/en.png +0 -0
- flags/24/eo.png +0 -0
- flags/24/es-mx.png +0 -0
- flags/24/es.png +0 -0
- flags/24/et.png +0 -0
- flags/24/eu.png +0 -0
- flags/24/fa.png +0 -0
- flags/24/fi.png +0 -0
- flags/24/fr.png +0 -0
- flags/24/fy.png +0 -0
- flags/24/ga.png +0 -0
- flags/24/gd.png +0 -0
- flags/24/gl.png +0 -0
- flags/24/gu.png +0 -0
- flags/24/ha.png +0 -0
- flags/24/haw.png +0 -0
- flags/24/hi.png +0 -0
- flags/24/hmn.png +0 -0
- flags/24/hr.png +0 -0
- flags/24/ht.png +0 -0
- flags/24/hu.png +0 -0
- flags/24/hy.png +0 -0
- flags/24/id.png +0 -0
- flags/24/ig.png +0 -0
- flags/24/is.png +0 -0
- flags/24/it.png +0 -0
- flags/24/iw.png +0 -0
- flags/24/ja.png +0 -0
- flags/24/jw.png +0 -0
- flags/24/ka.png +0 -0
- flags/24/kk.png +0 -0
- flags/24/km.png +0 -0
- flags/24/kn.png +0 -0
- flags/24/ko.png +0 -0
- flags/24/ku.png +0 -0
- flags/24/ky.png +0 -0
- flags/24/la.png +0 -0
- flags/24/lb.png +0 -0
- flags/24/lo.png +0 -0
- flags/24/lt.png +0 -0
- flags/24/lv.png +0 -0
- flags/24/mg.png +0 -0
- flags/24/mi.png +0 -0
- flags/24/mk.png +0 -0
- flags/24/ml.png +0 -0
- flags/24/mn.png +0 -0
- flags/24/mr.png +0 -0
- flags/24/ms.png +0 -0
- flags/24/mt.png +0 -0
- flags/24/my.png +0 -0
- flags/24/ne.png +0 -0
- flags/24/nl.png +0 -0
- flags/24/no.png +0 -0
- flags/24/ny.png +0 -0
- flags/24/pa.png +0 -0
- flags/24/pl.png +0 -0
- flags/24/ps.png +0 -0
- flags/24/pt-br.png +0 -0
- flags/24/pt.png +0 -0
- flags/24/ro.png +0 -0
- flags/24/ru.png +0 -0
- flags/24/sd.png +0 -0
- flags/24/si.png +0 -0
- flags/24/sk.png +0 -0
- flags/24/sl.png +0 -0
- flags/24/sm.png +0 -0
- flags/24/sn.png +0 -0
- flags/24/so.png +0 -0
- flags/24/sq.png +0 -0
- flags/24/sr.png +0 -0
- flags/24/st.png +0 -0
- flags/24/su.png +0 -0
- flags/24/sv.png +0 -0
- flags/24/sw.png +0 -0
- flags/24/ta.png +0 -0
- flags/24/te.png +0 -0
- flags/24/tg.png +0 -0
- flags/24/th.png +0 -0
- flags/24/tl.png +0 -0
- flags/24/tr.png +0 -0
- flags/24/uk.png +0 -0
- flags/24/ur.png +0 -0
- flags/24/uz.png +0 -0
- flags/24/vi.png +0 -0
- flags/24/xh.png +0 -0
- flags/24/yi.png +0 -0
- flags/24/yo.png +0 -0
- flags/24/zh-CN.png +0 -0
- flags/24/zh-TW.png +0 -0
- flags/24/zu.png +0 -0
- flags/32/af.png +0 -0
- flags/32/am.png +0 -0
- flags/32/ar.png +0 -0
- flags/32/az.png +0 -0
- flags/32/be.png +0 -0
- flags/32/bg.png +0 -0
- flags/32/bn.png +0 -0
- flags/32/bs.png +0 -0
- flags/32/ca.png +0 -0
- flags/32/ceb.png +0 -0
- flags/32/co.png +0 -0
- flags/32/cs.png +0 -0
- flags/32/cy.png +0 -0
- flags/32/da.png +0 -0
- flags/32/de.png +0 -0
- flags/32/el.png +0 -0
- flags/32/en-us.png +0 -0
- flags/32/en.png +0 -0
- flags/32/eo.png +0 -0
- flags/32/es-mx.png +0 -0
- flags/32/es.png +0 -0
- flags/32/et.png +0 -0
- flags/32/eu.png +0 -0
- flags/32/fa.png +0 -0
- flags/32/fi.png +0 -0
- flags/32/fr.png +0 -0
- flags/32/fy.png +0 -0
- flags/32/ga.png +0 -0
- flags/32/gd.png +0 -0
- flags/32/gl.png +0 -0
- flags/32/gu.png +0 -0
- flags/32/ha.png +0 -0
- flags/32/haw.png +0 -0
- flags/32/hi.png +0 -0
- flags/32/hmn.png +0 -0
- flags/32/hr.png +0 -0
- flags/32/ht.png +0 -0
- flags/32/hu.png +0 -0
- flags/32/hy.png +0 -0
- flags/32/id.png +0 -0
- flags/32/ig.png +0 -0
- flags/32/is.png +0 -0
- flags/32/it.png +0 -0
- flags/32/iw.png +0 -0
- flags/32/ja.png +0 -0
- flags/32/jw.png +0 -0
- flags/32/ka.png +0 -0
- flags/32/kk.png +0 -0
- flags/32/km.png +0 -0
- flags/32/kn.png +0 -0
- flags/32/ko.png +0 -0
- flags/32/ku.png +0 -0
- flags/32/ky.png +0 -0
- flags/32/la.png +0 -0
- flags/32/lb.png +0 -0
- flags/32/lo.png +0 -0
- flags/32/lt.png +0 -0
- flags/32/lv.png +0 -0
- flags/32/mg.png +0 -0
- flags/32/mi.png +0 -0
- flags/32/mk.png +0 -0
- flags/32/ml.png +0 -0
- flags/32/mn.png +0 -0
- flags/32/mr.png +0 -0
- flags/32/ms.png +0 -0
- flags/32/mt.png +0 -0
- flags/32/my.png +0 -0
- flags/32/ne.png +0 -0
- flags/32/nl.png +0 -0
- flags/32/no.png +0 -0
- flags/32/ny.png +0 -0
- flags/32/pa.png +0 -0
- flags/32/pl.png +0 -0
- flags/32/ps.png +0 -0
- flags/32/pt-br.png +0 -0
- flags/32/pt.png +0 -0
- flags/32/ro.png +0 -0
- flags/32/ru.png +0 -0
- flags/32/sd.png +0 -0
- flags/32/si.png +0 -0
- flags/32/sk.png +0 -0
- flags/32/sl.png +0 -0
- flags/32/sm.png +0 -0
- flags/32/sn.png +0 -0
- flags/32/so.png +0 -0
- flags/32/sq.png +0 -0
- flags/32/sr.png +0 -0
- flags/32/st.png +0 -0
- flags/32/su.png +0 -0
- flags/32/sv.png +0 -0
- flags/32/sw.png +0 -0
- flags/32/ta.png +0 -0
- flags/32/te.png +0 -0
- flags/32/tg.png +0 -0
- flags/32/th.png +0 -0
- flags/32/tl.png +0 -0
- flags/32/tr.png +0 -0
- flags/32/uk.png +0 -0
- flags/32/ur.png +0 -0
- flags/32/uz.png +0 -0
- flags/32/vi.png +0 -0
- flags/32/xh.png +0 -0
- flags/32/yi.png +0 -0
- flags/32/yo.png +0 -0
- flags/32/zh-CN.png +0 -0
- flags/32/zh-TW.png +0 -0
- flags/32/zu.png +0 -0
- flags/48/af.png +0 -0
- flags/48/am.png +0 -0
- flags/48/ar.png +0 -0
- flags/48/az.png +0 -0
- flags/48/be.png +0 -0
- flags/48/bg.png +0 -0
- flags/48/bn.png +0 -0
- flags/48/bs.png +0 -0
- flags/48/ca.png +0 -0
- flags/48/ceb.png +0 -0
- flags/48/co.png +0 -0
- flags/48/cs.png +0 -0
- flags/48/cy.png +0 -0
- flags/48/da.png +0 -0
- flags/48/de.png +0 -0
- flags/48/el.png +0 -0
- flags/48/en-us.png +0 -0
- flags/48/en.png +0 -0
- flags/48/eo.png +0 -0
- flags/48/es-mx.png +0 -0
- flags/48/es.png +0 -0
- flags/48/et.png +0 -0
- flags/48/eu.png +0 -0
- flags/48/fa.png +0 -0
- flags/48/fi.png +0 -0
- flags/48/fr.png +0 -0
- flags/48/fy.png +0 -0
- flags/48/ga.png +0 -0
- flags/48/gd.png +0 -0
- flags/48/gl.png +0 -0
- flags/48/gu.png +0 -0
- flags/48/ha.png +0 -0
- flags/48/haw.png +0 -0
- flags/48/hi.png +0 -0
- flags/48/hmn.png +0 -0
- flags/48/hr.png +0 -0
- flags/48/ht.png +0 -0
- flags/48/hu.png +0 -0
- flags/48/hy.png +0 -0
- flags/48/id.png +0 -0
- flags/48/ig.png +0 -0
- flags/48/is.png +0 -0
- flags/48/it.png +0 -0
- flags/48/iw.png +0 -0
- flags/48/ja.png +0 -0
- flags/48/jw.png +0 -0
- flags/48/ka.png +0 -0
- flags/48/kk.png +0 -0
- flags/48/km.png +0 -0
- flags/48/kn.png +0 -0
- flags/48/ko.png +0 -0
- flags/48/ku.png +0 -0
- flags/48/ky.png +0 -0
- flags/48/la.png +0 -0
- flags/48/lb.png +0 -0
- flags/48/lo.png +0 -0
- flags/48/lt.png +0 -0
- flags/48/lv.png +0 -0
- flags/48/mg.png +0 -0
- flags/48/mi.png +0 -0
- flags/48/mk.png +0 -0
- flags/48/ml.png +0 -0
- flags/48/mn.png +0 -0
- flags/48/mr.png +0 -0
- flags/48/ms.png +0 -0
- flags/48/mt.png +0 -0
- flags/48/my.png +0 -0
- flags/48/ne.png +0 -0
- flags/48/nl.png +0 -0
- flags/48/no.png +0 -0
- flags/48/ny.png +0 -0
- flags/48/pa.png +0 -0
- flags/48/pl.png +0 -0
- flags/48/ps.png +0 -0
- flags/48/pt-br.png +0 -0
- flags/48/pt.png +0 -0
- flags/48/ro.png +0 -0
- flags/48/ru.png +0 -0
- flags/48/sd.png +0 -0
- flags/48/si.png +0 -0
- flags/48/sk.png +0 -0
- flags/48/sl.png +0 -0
- flags/48/sm.png +0 -0
- flags/48/sn.png +0 -0
- flags/48/so.png +0 -0
- flags/48/sq.png +0 -0
- flags/48/sr.png +0 -0
- flags/48/st.png +0 -0
- flags/48/su.png +0 -0
- flags/48/sv.png +0 -0
- flags/48/sw.png +0 -0
- flags/48/ta.png +0 -0
- flags/48/te.png +0 -0
- flags/48/tg.png +0 -0
- flags/48/th.png +0 -0
- flags/48/tl.png +0 -0
- flags/48/tr.png +0 -0
- flags/48/uk.png +0 -0
- flags/48/ur.png +0 -0
- flags/48/uz.png +0 -0
- flags/48/vi.png +0 -0
- flags/48/xh.png +0 -0
- flags/48/yi.png +0 -0
- flags/48/yo.png +0 -0
- flags/48/zh-CN.png +0 -0
- flags/48/zh-TW.png +0 -0
- flags/48/zu.png +0 -0
- gtranslate-style16.css +6 -1
- gtranslate-style24.css +6 -1
- gtranslate-style32.css +6 -1
- gtranslate-style48.css +14 -0
- gtranslate.php +124 -52
- readme.txt +122 -2
flags/16/af.png
ADDED
|
Binary file
|
flags/16/am.png
ADDED
|
Binary file
|
flags/16/ar.png
ADDED
|
Binary file
|
flags/16/az.png
ADDED
|
Binary file
|
flags/16/be.png
ADDED
|
Binary file
|
flags/16/bg.png
ADDED
|
Binary file
|
flags/16/bn.png
ADDED
|
Binary file
|
flags/16/bs.png
ADDED
|
Binary file
|
flags/16/ca.png
ADDED
|
Binary file
|
flags/16/ceb.png
ADDED
|
Binary file
|
flags/16/co.png
ADDED
|
Binary file
|
flags/16/cs.png
ADDED
|
Binary file
|
flags/16/cy.png
ADDED
|
Binary file
|
flags/16/da.png
ADDED
|
Binary file
|
flags/16/de.png
ADDED
|
Binary file
|
flags/16/el.png
ADDED
|
Binary file
|
flags/16/en-us.png
ADDED
|
Binary file
|
flags/16/en.png
ADDED
|
Binary file
|
flags/16/eo.png
ADDED
|
Binary file
|
flags/16/es-mx.png
ADDED
|
Binary file
|
flags/16/es.png
ADDED
|
Binary file
|
flags/16/et.png
ADDED
|
Binary file
|
flags/16/eu.png
ADDED
|
Binary file
|
flags/16/fa.png
ADDED
|
Binary file
|
flags/16/fi.png
ADDED
|
Binary file
|
flags/16/fr.png
ADDED
|
Binary file
|
flags/16/fy.png
ADDED
|
Binary file
|
flags/16/ga.png
ADDED
|
Binary file
|
flags/16/gd.png
ADDED
|
Binary file
|
flags/16/gl.png
ADDED
|
Binary file
|
flags/16/gu.png
ADDED
|
Binary file
|
flags/16/ha.png
ADDED
|
Binary file
|
flags/16/haw.png
ADDED
|
Binary file
|
flags/16/hi.png
ADDED
|
Binary file
|
flags/16/hmn.png
ADDED
|
Binary file
|
flags/16/hr.png
ADDED
|
Binary file
|
flags/16/ht.png
ADDED
|
Binary file
|
flags/16/hu.png
ADDED
|
Binary file
|
flags/16/hy.png
ADDED
|
Binary file
|
flags/16/id.png
ADDED
|
Binary file
|
flags/16/ig.png
ADDED
|
Binary file
|
flags/16/is.png
ADDED
|
Binary file
|
flags/16/it.png
ADDED
|
Binary file
|
flags/16/iw.png
ADDED
|
Binary file
|
flags/16/ja.png
ADDED
|
Binary file
|
flags/16/jw.png
ADDED
|
Binary file
|
flags/16/ka.png
ADDED
|
Binary file
|
flags/16/kk.png
ADDED
|
Binary file
|
flags/16/km.png
ADDED
|
Binary file
|
flags/16/kn.png
ADDED
|
Binary file
|
flags/16/ko.png
ADDED
|
Binary file
|
flags/16/ku.png
ADDED
|
Binary file
|
flags/16/ky.png
ADDED
|
Binary file
|
flags/16/la.png
ADDED
|
Binary file
|
flags/16/lb.png
ADDED
|
Binary file
|
flags/16/lo.png
ADDED
|
Binary file
|
flags/16/lt.png
ADDED
|
Binary file
|
flags/16/lv.png
ADDED
|
Binary file
|
flags/16/mg.png
ADDED
|
Binary file
|
flags/16/mi.png
ADDED
|
Binary file
|
flags/16/mk.png
ADDED
|
Binary file
|
flags/16/ml.png
ADDED
|
Binary file
|
flags/16/mn.png
ADDED
|
Binary file
|
flags/16/mr.png
ADDED
|
Binary file
|
flags/16/ms.png
ADDED
|
Binary file
|
flags/16/mt.png
ADDED
|
Binary file
|
flags/16/my.png
ADDED
|
Binary file
|
flags/16/ne.png
ADDED
|
Binary file
|
flags/16/nl.png
ADDED
|
Binary file
|
flags/16/no.png
ADDED
|
Binary file
|
flags/16/ny.png
ADDED
|
Binary file
|
flags/16/pa.png
ADDED
|
Binary file
|
flags/16/pl.png
ADDED
|
Binary file
|
flags/16/ps.png
ADDED
|
Binary file
|
flags/16/pt-br.png
ADDED
|
Binary file
|
flags/16/pt.png
ADDED
|
Binary file
|
flags/16/ro.png
ADDED
|
Binary file
|
flags/16/ru.png
ADDED
|
Binary file
|
flags/16/sd.png
ADDED
|
Binary file
|
flags/16/si.png
ADDED
|
Binary file
|
flags/16/sk.png
ADDED
|
Binary file
|
flags/16/sl.png
ADDED
|
Binary file
|
flags/16/sm.png
ADDED
|
Binary file
|
flags/16/sn.png
ADDED
|
Binary file
|
flags/16/so.png
ADDED
|
Binary file
|
flags/16/sq.png
ADDED
|
Binary file
|
flags/16/sr.png
ADDED
|
Binary file
|
flags/16/st.png
ADDED
|
Binary file
|
flags/16/su.png
ADDED
|
Binary file
|
flags/16/sv.png
ADDED
|
Binary file
|
flags/16/sw.png
ADDED
|
Binary file
|
flags/16/ta.png
ADDED
|
Binary file
|
flags/16/te.png
ADDED
|
Binary file
|
flags/16/tg.png
ADDED
|
Binary file
|
flags/16/th.png
ADDED
|
Binary file
|
flags/16/tl.png
ADDED
|
Binary file
|
flags/16/tr.png
ADDED
|
Binary file
|
flags/16/uk.png
ADDED
|
Binary file
|
flags/16/ur.png
ADDED
|
Binary file
|
flags/16/uz.png
ADDED
|
Binary file
|
flags/16/vi.png
ADDED
|
Binary file
|
flags/16/xh.png
ADDED
|
Binary file
|
flags/16/yi.png
ADDED
|
Binary file
|
flags/16/yo.png
ADDED
|
Binary file
|
flags/16/zh-CN.png
ADDED
|
Binary file
|
flags/16/zh-TW.png
ADDED
|
Binary file
|
flags/16/zu.png
ADDED
|
Binary file
|
flags/24/af.png
ADDED
|
Binary file
|
flags/24/am.png
ADDED
|
Binary file
|
flags/24/ar.png
ADDED
|
Binary file
|
flags/24/az.png
ADDED
|
Binary file
|
flags/24/be.png
ADDED
|
Binary file
|
flags/24/bg.png
ADDED
|
Binary file
|
flags/24/bn.png
ADDED
|
Binary file
|
flags/24/bs.png
ADDED
|
Binary file
|
flags/24/ca.png
ADDED
|
Binary file
|
flags/24/ceb.png
ADDED
|
Binary file
|
flags/24/co.png
ADDED
|
Binary file
|
flags/24/cs.png
ADDED
|
Binary file
|
flags/24/cy.png
ADDED
|
Binary file
|
flags/24/da.png
ADDED
|
Binary file
|
flags/24/de.png
ADDED
|
Binary file
|
flags/24/el.png
ADDED
|
Binary file
|
flags/24/en-us.png
ADDED
|
Binary file
|
flags/24/en.png
ADDED
|
Binary file
|
flags/24/eo.png
ADDED
|
Binary file
|
flags/24/es-mx.png
ADDED
|
Binary file
|
flags/24/es.png
ADDED
|
Binary file
|
flags/24/et.png
ADDED
|
Binary file
|
flags/24/eu.png
ADDED
|
Binary file
|
flags/24/fa.png
ADDED
|
Binary file
|
flags/24/fi.png
ADDED
|
Binary file
|
flags/24/fr.png
ADDED
|
Binary file
|
flags/24/fy.png
ADDED
|
Binary file
|
flags/24/ga.png
ADDED
|
Binary file
|
flags/24/gd.png
ADDED
|
Binary file
|
flags/24/gl.png
ADDED
|
Binary file
|
flags/24/gu.png
ADDED
|
Binary file
|
flags/24/ha.png
ADDED
|
Binary file
|
flags/24/haw.png
ADDED
|
Binary file
|
flags/24/hi.png
ADDED
|
Binary file
|
flags/24/hmn.png
ADDED
|
Binary file
|
flags/24/hr.png
ADDED
|
Binary file
|
flags/24/ht.png
ADDED
|
Binary file
|
flags/24/hu.png
ADDED
|
Binary file
|
flags/24/hy.png
ADDED
|
Binary file
|
flags/24/id.png
ADDED
|
Binary file
|
flags/24/ig.png
ADDED
|
Binary file
|
flags/24/is.png
ADDED
|
Binary file
|
flags/24/it.png
ADDED
|
Binary file
|
flags/24/iw.png
ADDED
|
Binary file
|
flags/24/ja.png
ADDED
|
Binary file
|
flags/24/jw.png
ADDED
|
Binary file
|
flags/24/ka.png
ADDED
|
Binary file
|
flags/24/kk.png
ADDED
|
Binary file
|
flags/24/km.png
ADDED
|
Binary file
|
flags/24/kn.png
ADDED
|
Binary file
|
flags/24/ko.png
ADDED
|
Binary file
|
flags/24/ku.png
ADDED
|
Binary file
|
flags/24/ky.png
ADDED
|
Binary file
|
flags/24/la.png
ADDED
|
Binary file
|
flags/24/lb.png
ADDED
|
Binary file
|
flags/24/lo.png
ADDED
|
Binary file
|
flags/24/lt.png
ADDED
|
Binary file
|
flags/24/lv.png
ADDED
|
Binary file
|
flags/24/mg.png
ADDED
|
Binary file
|
flags/24/mi.png
ADDED
|
Binary file
|
flags/24/mk.png
ADDED
|
Binary file
|
flags/24/ml.png
ADDED
|
Binary file
|
flags/24/mn.png
ADDED
|
Binary file
|
flags/24/mr.png
ADDED
|
Binary file
|
flags/24/ms.png
ADDED
|
Binary file
|
flags/24/mt.png
ADDED
|
Binary file
|
flags/24/my.png
ADDED
|
Binary file
|
flags/24/ne.png
ADDED
|
Binary file
|
flags/24/nl.png
ADDED
|
Binary file
|
flags/24/no.png
ADDED
|
Binary file
|
flags/24/ny.png
ADDED
|
Binary file
|
flags/24/pa.png
ADDED
|
Binary file
|
flags/24/pl.png
ADDED
|
Binary file
|
flags/24/ps.png
ADDED
|
Binary file
|
flags/24/pt-br.png
ADDED
|
Binary file
|
flags/24/pt.png
ADDED
|
Binary file
|
flags/24/ro.png
ADDED
|
Binary file
|
flags/24/ru.png
ADDED
|
Binary file
|
flags/24/sd.png
ADDED
|
Binary file
|
flags/24/si.png
ADDED
|
Binary file
|
flags/24/sk.png
ADDED
|
Binary file
|
flags/24/sl.png
ADDED
|
Binary file
|
flags/24/sm.png
ADDED
|
Binary file
|
flags/24/sn.png
ADDED
|
Binary file
|
flags/24/so.png
ADDED
|
Binary file
|
flags/24/sq.png
ADDED
|
Binary file
|
flags/24/sr.png
ADDED
|
Binary file
|
flags/24/st.png
ADDED
|
Binary file
|
flags/24/su.png
ADDED
|
Binary file
|
flags/24/sv.png
ADDED
|
Binary file
|
flags/24/sw.png
ADDED
|
Binary file
|
flags/24/ta.png
ADDED
|
Binary file
|
flags/24/te.png
ADDED
|
Binary file
|
flags/24/tg.png
ADDED
|
Binary file
|
flags/24/th.png
ADDED
|
Binary file
|
flags/24/tl.png
ADDED
|
Binary file
|
flags/24/tr.png
ADDED
|
Binary file
|
flags/24/uk.png
ADDED
|
Binary file
|
flags/24/ur.png
ADDED
|
Binary file
|
flags/24/uz.png
ADDED
|
Binary file
|
flags/24/vi.png
ADDED
|
Binary file
|
flags/24/xh.png
ADDED
|
Binary file
|
flags/24/yi.png
ADDED
|
Binary file
|
flags/24/yo.png
ADDED
|
Binary file
|
flags/24/zh-CN.png
ADDED
|
Binary file
|
flags/24/zh-TW.png
ADDED
|
Binary file
|
flags/24/zu.png
ADDED
|
Binary file
|
flags/32/af.png
ADDED
|
Binary file
|
flags/32/am.png
ADDED
|
Binary file
|
flags/32/ar.png
ADDED
|
Binary file
|
flags/32/az.png
ADDED
|
Binary file
|
flags/32/be.png
ADDED
|
Binary file
|
flags/32/bg.png
ADDED
|
Binary file
|
flags/32/bn.png
ADDED
|
Binary file
|
flags/32/bs.png
ADDED
|
Binary file
|
flags/32/ca.png
ADDED
|
Binary file
|
flags/32/ceb.png
ADDED
|
Binary file
|
flags/32/co.png
ADDED
|
Binary file
|
flags/32/cs.png
ADDED
|
Binary file
|
flags/32/cy.png
ADDED
|
Binary file
|
flags/32/da.png
ADDED
|
Binary file
|
flags/32/de.png
ADDED
|
Binary file
|
flags/32/el.png
ADDED
|
Binary file
|
flags/32/en-us.png
ADDED
|
Binary file
|
flags/32/en.png
ADDED
|
Binary file
|
flags/32/eo.png
ADDED
|
Binary file
|
flags/32/es-mx.png
ADDED
|
Binary file
|
flags/32/es.png
ADDED
|
Binary file
|
flags/32/et.png
ADDED
|
Binary file
|
flags/32/eu.png
ADDED
|
Binary file
|
flags/32/fa.png
ADDED
|
Binary file
|
flags/32/fi.png
ADDED
|
Binary file
|
flags/32/fr.png
ADDED
|
Binary file
|
flags/32/fy.png
ADDED
|
Binary file
|
flags/32/ga.png
ADDED
|
Binary file
|
flags/32/gd.png
ADDED
|
Binary file
|
flags/32/gl.png
ADDED
|
Binary file
|
flags/32/gu.png
ADDED
|
Binary file
|
flags/32/ha.png
ADDED
|
Binary file
|
flags/32/haw.png
ADDED
|
Binary file
|
flags/32/hi.png
ADDED
|
Binary file
|
flags/32/hmn.png
ADDED
|
Binary file
|
flags/32/hr.png
ADDED
|
Binary file
|
flags/32/ht.png
ADDED
|
Binary file
|
flags/32/hu.png
ADDED
|
Binary file
|
flags/32/hy.png
ADDED
|
Binary file
|
flags/32/id.png
ADDED
|
Binary file
|
flags/32/ig.png
ADDED
|
Binary file
|
flags/32/is.png
ADDED
|
Binary file
|
flags/32/it.png
ADDED
|
Binary file
|
flags/32/iw.png
ADDED
|
Binary file
|
flags/32/ja.png
ADDED
|
Binary file
|
flags/32/jw.png
ADDED
|
Binary file
|
flags/32/ka.png
ADDED
|
Binary file
|
flags/32/kk.png
ADDED
|
Binary file
|
flags/32/km.png
ADDED
|
Binary file
|
flags/32/kn.png
ADDED
|
Binary file
|
flags/32/ko.png
ADDED
|
Binary file
|
flags/32/ku.png
ADDED
|
Binary file
|
flags/32/ky.png
ADDED
|
Binary file
|
flags/32/la.png
ADDED
|
Binary file
|
flags/32/lb.png
ADDED
|
Binary file
|
flags/32/lo.png
ADDED
|
Binary file
|
flags/32/lt.png
ADDED
|
Binary file
|
flags/32/lv.png
ADDED
|
Binary file
|
flags/32/mg.png
ADDED
|
Binary file
|
flags/32/mi.png
ADDED
|
Binary file
|
flags/32/mk.png
ADDED
|
Binary file
|
flags/32/ml.png
ADDED
|
Binary file
|
flags/32/mn.png
ADDED
|
Binary file
|
flags/32/mr.png
ADDED
|
Binary file
|
flags/32/ms.png
ADDED
|
Binary file
|
flags/32/mt.png
ADDED
|
Binary file
|
flags/32/my.png
ADDED
|
Binary file
|
flags/32/ne.png
ADDED
|
Binary file
|
flags/32/nl.png
ADDED
|
Binary file
|
flags/32/no.png
ADDED
|
Binary file
|
flags/32/ny.png
ADDED
|
Binary file
|
flags/32/pa.png
ADDED
|
Binary file
|
flags/32/pl.png
ADDED
|
Binary file
|
flags/32/ps.png
ADDED
|
Binary file
|
flags/32/pt-br.png
ADDED
|
Binary file
|
flags/32/pt.png
ADDED
|
Binary file
|
flags/32/ro.png
ADDED
|
Binary file
|
flags/32/ru.png
ADDED
|
Binary file
|
flags/32/sd.png
ADDED
|
Binary file
|
flags/32/si.png
ADDED
|
Binary file
|
flags/32/sk.png
ADDED
|
Binary file
|
flags/32/sl.png
ADDED
|
Binary file
|
flags/32/sm.png
ADDED
|
Binary file
|
flags/32/sn.png
ADDED
|
Binary file
|
flags/32/so.png
ADDED
|
Binary file
|
flags/32/sq.png
ADDED
|
Binary file
|
flags/32/sr.png
ADDED
|
Binary file
|
flags/32/st.png
ADDED
|
Binary file
|
flags/32/su.png
ADDED
|
Binary file
|
flags/32/sv.png
ADDED
|
Binary file
|
flags/32/sw.png
ADDED
|
Binary file
|
flags/32/ta.png
ADDED
|
Binary file
|
flags/32/te.png
ADDED
|
Binary file
|
flags/32/tg.png
ADDED
|
Binary file
|
flags/32/th.png
ADDED
|
Binary file
|
flags/32/tl.png
ADDED
|
Binary file
|
flags/32/tr.png
ADDED
|
Binary file
|
flags/32/uk.png
ADDED
|
Binary file
|
flags/32/ur.png
ADDED
|
Binary file
|
flags/32/uz.png
ADDED
|
Binary file
|
flags/32/vi.png
ADDED
|
Binary file
|
flags/32/xh.png
ADDED
|
Binary file
|
flags/32/yi.png
ADDED
|
Binary file
|
flags/32/yo.png
ADDED
|
Binary file
|
flags/32/zh-CN.png
ADDED
|
Binary file
|
flags/32/zh-TW.png
ADDED
|
Binary file
|
flags/32/zu.png
ADDED
|
Binary file
|
flags/48/af.png
ADDED
|
Binary file
|
flags/48/am.png
ADDED
|
Binary file
|
flags/48/ar.png
ADDED
|
Binary file
|
flags/48/az.png
ADDED
|
Binary file
|
flags/48/be.png
ADDED
|
Binary file
|
flags/48/bg.png
ADDED
|
Binary file
|
flags/48/bn.png
ADDED
|
Binary file
|
flags/48/bs.png
ADDED
|
Binary file
|
flags/48/ca.png
ADDED
|
Binary file
|
flags/48/ceb.png
ADDED
|
Binary file
|
flags/48/co.png
ADDED
|
Binary file
|
flags/48/cs.png
ADDED
|
Binary file
|
flags/48/cy.png
ADDED
|
Binary file
|
flags/48/da.png
ADDED
|
Binary file
|
flags/48/de.png
ADDED
|
Binary file
|
flags/48/el.png
ADDED
|
Binary file
|
flags/48/en-us.png
ADDED
|
Binary file
|
flags/48/en.png
ADDED
|
Binary file
|
flags/48/eo.png
ADDED
|
Binary file
|
flags/48/es-mx.png
ADDED
|
Binary file
|
flags/48/es.png
ADDED
|
Binary file
|
flags/48/et.png
ADDED
|
Binary file
|
flags/48/eu.png
ADDED
|
Binary file
|
flags/48/fa.png
ADDED
|
Binary file
|
flags/48/fi.png
ADDED
|
Binary file
|
flags/48/fr.png
ADDED
|
Binary file
|
flags/48/fy.png
ADDED
|
Binary file
|
flags/48/ga.png
ADDED
|
Binary file
|
flags/48/gd.png
ADDED
|
Binary file
|
flags/48/gl.png
ADDED
|
Binary file
|
flags/48/gu.png
ADDED
|
Binary file
|
flags/48/ha.png
ADDED
|
Binary file
|
flags/48/haw.png
ADDED
|
Binary file
|
flags/48/hi.png
ADDED
|
Binary file
|
flags/48/hmn.png
ADDED
|
Binary file
|
flags/48/hr.png
ADDED
|
Binary file
|
flags/48/ht.png
ADDED
|
Binary file
|
flags/48/hu.png
ADDED
|
Binary file
|
flags/48/hy.png
ADDED
|
Binary file
|
flags/48/id.png
ADDED
|
Binary file
|
flags/48/ig.png
ADDED
|
Binary file
|
flags/48/is.png
ADDED
|
Binary file
|
flags/48/it.png
ADDED
|
Binary file
|
flags/48/iw.png
ADDED
|
Binary file
|
flags/48/ja.png
ADDED
|
Binary file
|
flags/48/jw.png
ADDED
|
Binary file
|
flags/48/ka.png
ADDED
|
Binary file
|
flags/48/kk.png
ADDED
|
Binary file
|
flags/48/km.png
ADDED
|
Binary file
|
flags/48/kn.png
ADDED
|
Binary file
|
flags/48/ko.png
ADDED
|
Binary file
|
flags/48/ku.png
ADDED
|
Binary file
|
flags/48/ky.png
ADDED
|
Binary file
|
flags/48/la.png
ADDED
|
Binary file
|
flags/48/lb.png
ADDED
|
Binary file
|
flags/48/lo.png
ADDED
|
Binary file
|
flags/48/lt.png
ADDED
|
Binary file
|
flags/48/lv.png
ADDED
|
Binary file
|
flags/48/mg.png
ADDED
|
Binary file
|
flags/48/mi.png
ADDED
|
Binary file
|
flags/48/mk.png
ADDED
|
Binary file
|
flags/48/ml.png
ADDED
|
Binary file
|
flags/48/mn.png
ADDED
|
Binary file
|
flags/48/mr.png
ADDED
|
Binary file
|
flags/48/ms.png
ADDED
|
Binary file
|
flags/48/mt.png
ADDED
|
Binary file
|
flags/48/my.png
ADDED
|
Binary file
|
flags/48/ne.png
ADDED
|
Binary file
|
flags/48/nl.png
ADDED
|
Binary file
|
flags/48/no.png
ADDED
|
Binary file
|
flags/48/ny.png
ADDED
|
Binary file
|
flags/48/pa.png
ADDED
|
Binary file
|
flags/48/pl.png
ADDED
|
Binary file
|
flags/48/ps.png
ADDED
|
Binary file
|
flags/48/pt-br.png
ADDED
|
Binary file
|
flags/48/pt.png
ADDED
|
Binary file
|
flags/48/ro.png
ADDED
|
Binary file
|
flags/48/ru.png
ADDED
|
Binary file
|
flags/48/sd.png
ADDED
|
Binary file
|
flags/48/si.png
ADDED
|
Binary file
|
flags/48/sk.png
ADDED
|
Binary file
|
flags/48/sl.png
ADDED
|
Binary file
|
flags/48/sm.png
ADDED
|
Binary file
|
flags/48/sn.png
ADDED
|
Binary file
|
flags/48/so.png
ADDED
|
Binary file
|
flags/48/sq.png
ADDED
|
Binary file
|
flags/48/sr.png
ADDED
|
Binary file
|
flags/48/st.png
ADDED
|
Binary file
|
flags/48/su.png
ADDED
|
Binary file
|
flags/48/sv.png
ADDED
|
Binary file
|
flags/48/sw.png
ADDED
|
Binary file
|
flags/48/ta.png
ADDED
|
Binary file
|
flags/48/te.png
ADDED
|
Binary file
|
flags/48/tg.png
ADDED
|
Binary file
|
flags/48/th.png
ADDED
|
Binary file
|
flags/48/tl.png
ADDED
|
Binary file
|
flags/48/tr.png
ADDED
|
Binary file
|
flags/48/uk.png
ADDED
|
Binary file
|
flags/48/ur.png
ADDED
|
Binary file
|
flags/48/uz.png
ADDED
|
Binary file
|
flags/48/vi.png
ADDED
|
Binary file
|
flags/48/xh.png
ADDED
|
Binary file
|
flags/48/yi.png
ADDED
|
Binary file
|
flags/48/yo.png
ADDED
|
Binary file
|
flags/48/zh-CN.png
ADDED
|
Binary file
|
flags/48/zh-TW.png
ADDED
|
Binary file
|
flags/48/zu.png
ADDED
|
Binary file
|
gtranslate-style16.css
CHANGED
|
@@ -6,4 +6,9 @@ a.alt_flag {background-image:url(alt_flags.png);}
|
|
| 6 |
a.alt_flag:hover {background-image:url(alt_flagsa.png);}
|
| 7 |
a.us_flag {background-position:-0px -0px;}
|
| 8 |
a.br_flag {background-position:-100px -0px;}
|
| 9 |
-
a.mx_flag {background-position:-200px -0px;}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
a.alt_flag:hover {background-image:url(alt_flagsa.png);}
|
| 7 |
a.us_flag {background-position:-0px -0px;}
|
| 8 |
a.br_flag {background-position:-100px -0px;}
|
| 9 |
+
a.mx_flag {background-position:-200px -0px;}
|
| 10 |
+
|
| 11 |
+
a.glink {text-decoration:none;}
|
| 12 |
+
a.glink span {margin-right:3px;font-size:10px;vertical-align:middle;}
|
| 13 |
+
a.glink img {vertical-align:middle;display:inline;border:0;padding:0;margin:0;opacity:0.8;}
|
| 14 |
+
a.glink:hover img {opacity:1;}
|
gtranslate-style24.css
CHANGED
|
@@ -6,4 +6,9 @@ a.alt_flag {background-image:url(alt_flags.png);}
|
|
| 6 |
a.alt_flag:hover {background-image:url(alt_flagsa.png);}
|
| 7 |
a.us_flag {background-position:-0px -100px;}
|
| 8 |
a.br_flag {background-position:-100px -100px;}
|
| 9 |
-
a.mx_flag {background-position:-200px -100px;}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
a.alt_flag:hover {background-image:url(alt_flagsa.png);}
|
| 7 |
a.us_flag {background-position:-0px -100px;}
|
| 8 |
a.br_flag {background-position:-100px -100px;}
|
| 9 |
+
a.mx_flag {background-position:-200px -100px;}
|
| 10 |
+
|
| 11 |
+
a.glink {text-decoration:none;}
|
| 12 |
+
a.glink span {margin-right:5px;font-size:15px;vertical-align:middle;}
|
| 13 |
+
a.glink img {vertical-align:middle;display:inline;border:0;padding:0;margin:0;opacity:0.8;}
|
| 14 |
+
a.glink:hover img {opacity:1;}
|
gtranslate-style32.css
CHANGED
|
@@ -6,4 +6,9 @@ a.alt_flag {background-image:url(alt_flags.png);}
|
|
| 6 |
a.alt_flag:hover {background-image:url(alt_flagsa.png);}
|
| 7 |
a.us_flag {background-position:-0px -200px;}
|
| 8 |
a.br_flag {background-position:-100px -200px;}
|
| 9 |
-
a.mx_flag {background-position:-200px -200px;}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
a.alt_flag:hover {background-image:url(alt_flagsa.png);}
|
| 7 |
a.us_flag {background-position:-0px -200px;}
|
| 8 |
a.br_flag {background-position:-100px -200px;}
|
| 9 |
+
a.mx_flag {background-position:-200px -200px;}
|
| 10 |
+
|
| 11 |
+
a.glink {text-decoration:none;}
|
| 12 |
+
a.glink span {margin-right:7px;font-size:20px;vertical-align:middle;}
|
| 13 |
+
a.glink img {vertical-align:middle;display:inline;border:0;padding:0;margin:0;opacity:0.8;}
|
| 14 |
+
a.glink:hover img {opacity:1;}
|
gtranslate-style48.css
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
a.gflag {font-size:32px;padding:1px 0;background-repeat:no-repeat;background-image:url(32.png);}
|
| 2 |
+
a.gflag img {border:0;height:32px;display:inline;}
|
| 3 |
+
a.gflag:hover {background-image:url(32a.png);}
|
| 4 |
+
img.gstats {display:none;}
|
| 5 |
+
a.alt_flag {background-image:url(alt_flags.png);}
|
| 6 |
+
a.alt_flag:hover {background-image:url(alt_flagsa.png);}
|
| 7 |
+
a.us_flag {background-position:-0px -200px;}
|
| 8 |
+
a.br_flag {background-position:-100px -200px;}
|
| 9 |
+
a.mx_flag {background-position:-200px -200px;}
|
| 10 |
+
|
| 11 |
+
a.glink {text-decoration:none;}
|
| 12 |
+
a.glink span {margin-right:10px;font-size:24px;vertical-align:middle;}
|
| 13 |
+
a.glink img {vertical-align:middle;display:inline;border:0;padding:0;margin:0;opacity:0.8;}
|
| 14 |
+
a.glink:hover img {opacity:1;}
|
gtranslate.php
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
Plugin Name: GTranslate
|
| 4 |
Plugin URI: https://gtranslate.io/?xyz=998
|
| 5 |
Description: Makes your website <strong>multilingual</strong> and available to the world using Google Translate. For support visit <a href="https://wordpress.org/support/plugin/gtranslate">GTranslate Support</a>.
|
| 6 |
-
Version: 2.8.
|
| 7 |
Author: Edvard Ananyan
|
| 8 |
Author URI: https://gtranslate.io
|
| 9 |
Text Domain: gtranslate
|
|
@@ -220,7 +220,7 @@ function RefreshDoWidgetCode() {
|
|
| 220 |
jQuery('#url_translation_option').hide();
|
| 221 |
}
|
| 222 |
|
| 223 |
-
if(widget_look == 'dropdown' || widget_look == 'flags_dropdown' || widget_look == 'globe') {
|
| 224 |
jQuery('#dropdown_languages_option').show();
|
| 225 |
} else {
|
| 226 |
jQuery('#dropdown_languages_option').hide();
|
|
@@ -232,7 +232,7 @@ function RefreshDoWidgetCode() {
|
|
| 232 |
jQuery('#alternative_flags_option').hide();
|
| 233 |
}
|
| 234 |
|
| 235 |
-
if(widget_look == 'flags' || widget_look == 'flags_dropdown' || widget_look == 'dropdown_with_flags') {
|
| 236 |
jQuery('#flag_languages_option').show();
|
| 237 |
jQuery('#alternative_flags_option').show();
|
| 238 |
} else {
|
|
@@ -241,13 +241,13 @@ function RefreshDoWidgetCode() {
|
|
| 241 |
jQuery('#alternative_flags_option').hide();
|
| 242 |
}
|
| 243 |
|
| 244 |
-
if(widget_look == '
|
| 245 |
-
jQuery('#line_break_option').hide();
|
| 246 |
-
} else {
|
| 247 |
jQuery('#line_break_option').show();
|
|
|
|
|
|
|
| 248 |
}
|
| 249 |
|
| 250 |
-
if(widget_look == 'dropdown_with_flags' || widget_look == 'dropdown') {
|
| 251 |
jQuery('#flag_size_option').hide();
|
| 252 |
} else {
|
| 253 |
jQuery('#flag_size_option').show();
|
|
@@ -267,14 +267,16 @@ function RefreshDoWidgetCode() {
|
|
| 267 |
pro_version = false;
|
| 268 |
|
| 269 |
if(translation_method == 'on_fly' || translation_method == 'redirect' || translation_method == 'onfly') {
|
| 270 |
-
// Adding flags
|
| 271 |
-
if(widget_look == 'flags' || widget_look == 'flags_dropdown') {
|
| 272 |
-
jQuery.each(
|
| 273 |
-
lang =
|
| 274 |
-
if(
|
|
|
|
|
|
|
|
|
|
|
|
|
| 275 |
lang_name = gt_lang_array[lang];
|
| 276 |
-
flag_x = languages_map[lang.replace('-', '')+'_x'];
|
| 277 |
-
flag_y = languages_map[lang.replace('-', '')+'_y'];
|
| 278 |
|
| 279 |
var href = '#';
|
| 280 |
if(pro_version)
|
|
@@ -282,14 +284,33 @@ function RefreshDoWidgetCode() {
|
|
| 282 |
else if(enterprise_version)
|
| 283 |
href = (lang == default_language) ? '$site_url' : '$site_url'.replace('$site_url'.split('/').slice(2, 3)[0].replace('www.', ''), lang + '.' + '$site_url'.split('/').slice(2, 3)[0].replace('www.', '')).replace('://www.', '://');
|
| 284 |
|
| 285 |
-
|
| 286 |
-
|
| 287 |
-
|
| 288 |
-
|
| 289 |
-
|
| 290 |
-
|
| 291 |
-
|
| 292 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 293 |
}
|
| 294 |
});
|
| 295 |
}
|
|
@@ -300,7 +321,11 @@ function RefreshDoWidgetCode() {
|
|
| 300 |
widget_preview += '<br />';
|
| 301 |
else
|
| 302 |
widget_preview += ' ';
|
| 303 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 304 |
widget_preview += '<option value="">Select Language</option>';
|
| 305 |
jQuery.each(language_codes2, function(i, val) {
|
| 306 |
lang = language_codes2[i];
|
|
@@ -424,6 +449,19 @@ function hideGSatelites($) {
|
|
| 424 |
// Adding slider html
|
| 425 |
widget_preview += '<div class="switcher notranslate">'+new_line;
|
| 426 |
widget_preview += '<div class="selected">'+new_line;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 427 |
if(default_language == 'en' && jQuery('#alt_us:checked').length)
|
| 428 |
widget_preview += '<a href="#" onclick="return false;"><span class="gflag" style="background-image:url($wp_plugin_url/alt_flags.png);background-position:-0px -0px;"><img src="$wp_plugin_url/blank.png" height="'+16+'" width="'+16+'" alt="'+default_language+'" /></span>'+gt_lang_array[default_language]+'</a>'+new_line;
|
| 429 |
else if(default_language == 'pt' && jQuery('#alt_br:checked').length)
|
|
@@ -432,14 +470,18 @@ function hideGSatelites($) {
|
|
| 432 |
widget_preview += '<a href="#" onclick="return false;"><span class="gflag" style="background-image:url($wp_plugin_url/alt_flags.png);background-position:-200px -0px;"><img src="$wp_plugin_url/blank.png" height="'+16+'" width="'+16+'" alt="'+default_language+'" /></span>'+gt_lang_array[default_language]+'</a>'+new_line;
|
| 433 |
else
|
| 434 |
widget_preview += '<a href="#" onclick="return false;"><span class="gflag" style="background-position:-'+languages_map[default_language.replace('-', '')+'_x']+'px -'+languages_map[default_language.replace('-', '')+'_y']+'px;"><img src="$wp_plugin_url/blank.png" height="'+16+'" width="'+16+'" alt="'+default_language+'" /></span>'+gt_lang_array[default_language]+'</a>'+new_line;
|
|
|
|
|
|
|
| 435 |
widget_preview += '</div>'+new_line;
|
|
|
|
| 436 |
widget_preview += '<div class="option">'+new_line;
|
| 437 |
-
|
| 438 |
-
|
|
|
|
| 439 |
if(jQuery('#fincl_langs'+lang+':checked').length) {
|
| 440 |
lang_name = gt_lang_array[lang];
|
| 441 |
-
flag_x = languages_map[lang.replace('-', '')+'_x'];
|
| 442 |
-
flag_y = languages_map[lang.replace('-', '')+'_y'];
|
| 443 |
|
| 444 |
var href = '#';
|
| 445 |
if(pro_version)
|
|
@@ -447,6 +489,18 @@ function hideGSatelites($) {
|
|
| 447 |
else if(enterprise_version)
|
| 448 |
href = (lang == default_language) ? '$site_url' : '$site_url'.replace('$site_url'.split('/').slice(2, 3)[0].replace('www.', ''), lang + '.' + '$site_url'.split('/').slice(2, 3)[0].replace('www.', '')).replace('://www.', '://');
|
| 449 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 450 |
if(lang == 'en' && jQuery('#alt_us:checked').length)
|
| 451 |
widget_preview += '<a href="'+href+'" onclick="doGTranslate(\''+default_language+'|'+lang+'\');jQuery(this).parent().parent().find(\'div.selected a\').html(jQuery(this).html());return false;" title="'+lang_name+'" class="nturl'+(default_language == lang ? ' selected' : '')+'"><span class="gflag" style="background-image:url($wp_plugin_url/alt_flags.png);background-position:-0px -0px;"><img src="$wp_plugin_url/blank.png" height="'+16+'" width="'+16+'" alt="'+lang+'" /></span>'+lang_name+'</a>';
|
| 452 |
else if(lang == 'pt' && jQuery('#alt_br:checked').length)
|
|
@@ -455,6 +509,7 @@ function hideGSatelites($) {
|
|
| 455 |
widget_preview += '<a href="'+href+'" onclick="doGTranslate(\''+default_language+'|'+lang+'\');jQuery(this).parent().parent().find(\'div.selected a\').html(jQuery(this).html());return false;" title="'+lang_name+'" class="nturl'+(default_language == lang ? ' selected' : '')+'"><span class="gflag" style="background-image:url($wp_plugin_url/alt_flags.png);background-position:-200px -0px;"><img src="$wp_plugin_url/blank.png" height="'+16+'" width="'+16+'" alt="'+lang+'" /></span>'+lang_name+'</a>';
|
| 456 |
else
|
| 457 |
widget_preview += '<a href="'+href+'" onclick="doGTranslate(\''+default_language+'|'+lang+'\');jQuery(this).parent().parent().find(\'div.selected a\').html(jQuery(this).html());return false;" title="'+lang_name+'" class="nturl'+(default_language == lang ? ' selected' : '')+'"><span class="gflag" style="background-position:-'+flag_x+'px -'+flag_y+'px;"><img src="$wp_plugin_url/blank.png" height="'+16+'" width="'+16+'" alt="'+lang+'" /></span>'+lang_name+'</a>';
|
|
|
|
| 458 |
}
|
| 459 |
});
|
| 460 |
|
|
@@ -470,11 +525,13 @@ function hideGSatelites($) {
|
|
| 470 |
|
| 471 |
// Adding slider css
|
| 472 |
widget_preview += '<style type="text/css">'+new_line;
|
| 473 |
-
widget_preview += 'span.gflag {font-size:16px;padding:1px 0;background-repeat:no-repeat;background-image:url($wp_plugin_url/16.png);}'+new_line;
|
| 474 |
-
widget_preview += 'span.gflag img {border:0;margin-top:2px;}'+new_line;
|
| 475 |
widget_preview += '.switcher {font-family:Arial;font-size:10pt;text-align:left;cursor:pointer;overflow:hidden;width:163px;line-height:17px;}'+new_line;
|
| 476 |
widget_preview += '.switcher a {text-decoration:none;display:block;font-size:10pt;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;}'+new_line;
|
| 477 |
-
widget_preview += '.switcher a span.gflag {margin-right:3px;padding:0;display:block;float:left;}'+new_line;
|
|
|
|
|
|
|
| 478 |
widget_preview += '.switcher .selected {background:#FFFFFF url($wp_plugin_url/switcher.png) repeat-x;position:relative;z-index:9999;}'+new_line;
|
| 479 |
widget_preview += '.switcher .selected a {border:1px solid #CCCCCC;background:url($wp_plugin_url/arrow_down.png) 146px center no-repeat;color:#666666;padding:3px 5px;width:151px;}'+new_line;
|
| 480 |
widget_preview += '.switcher .selected a.open {background-image:url($wp_plugin_url/arrow_up.png)}'+new_line;
|
|
@@ -566,7 +623,7 @@ if(jQuery('#pro_version:checked').length || jQuery('#enterprise_version:checked'
|
|
| 566 |
jQuery('#url_translation_option').show();
|
| 567 |
}
|
| 568 |
|
| 569 |
-
if('$widget_look' == 'dropdown' || '$widget_look' == 'flags_dropdown' || '$widget_look' == 'globe') {
|
| 570 |
jQuery('#dropdown_languages_option').show();
|
| 571 |
} else {
|
| 572 |
jQuery('#dropdown_languages_option').hide();
|
|
@@ -578,7 +635,7 @@ if('$widget_look' == 'globe') {
|
|
| 578 |
jQuery('#alternative_flags_option').hide();
|
| 579 |
}
|
| 580 |
|
| 581 |
-
if('$widget_look' == 'flags' || '$widget_look' == 'flags_dropdown' || '$widget_look' == 'dropdown_with_flags') {
|
| 582 |
jQuery('#flag_languages_option').show();
|
| 583 |
jQuery('#alternative_flags_option').show();
|
| 584 |
} else {
|
|
@@ -587,13 +644,13 @@ if('$widget_look' == 'flags' || '$widget_look' == 'flags_dropdown' || '$widget_l
|
|
| 587 |
jQuery('#alternative_flags_option').hide();
|
| 588 |
}
|
| 589 |
|
| 590 |
-
if('$widget_look' == '
|
| 591 |
-
jQuery('#line_break_option').hide();
|
| 592 |
-
} else {
|
| 593 |
jQuery('#line_break_option').show();
|
|
|
|
|
|
|
| 594 |
}
|
| 595 |
|
| 596 |
-
if('$widget_look' == 'dropdown_with_flags' || '$widget_look' == 'dropdown') {
|
| 597 |
jQuery('#flag_size_option').hide();
|
| 598 |
} else {
|
| 599 |
jQuery('#flag_size_option').show();
|
|
@@ -664,7 +721,11 @@ foreach($alt_flags as $flag)
|
|
| 664 |
<option value="dropdown_with_flags"><?php _e('Nice dropdown with flags', 'gtranslate'); ?></option>
|
| 665 |
<option value="dropdown"><?php _e('Dropdown', 'gtranslate'); ?></option>
|
| 666 |
<option value="flags"><?php _e('Flags', 'gtranslate'); ?></option>
|
| 667 |
-
<option value="globe"
|
|
|
|
|
|
|
|
|
|
|
|
|
| 668 |
</select>
|
| 669 |
</td>
|
| 670 |
</tr>
|
|
@@ -834,6 +895,7 @@ foreach($alt_flags as $flag)
|
|
| 834 |
<option value="16" selected>16px</option>
|
| 835 |
<option value="24">24px</option>
|
| 836 |
<option value="32">32px</option>
|
|
|
|
| 837 |
</select>
|
| 838 |
</td>
|
| 839 |
</tr>
|
|
@@ -841,10 +903,10 @@ foreach($alt_flags as $flag)
|
|
| 841 |
<td class="option_name" colspan="2"><?php _e('Flag languages', 'gtranslate'); ?>: <a onclick="jQuery('.connectedSortable1 input').attr('checked', true);RefreshDoWidgetCode()" style="cursor:pointer;text-decoration:underline;"><?php _e('Check All', 'gtranslate'); ?></a> | <a onclick="jQuery('.connectedSortable1 input').attr('checked', false);RefreshDoWidgetCode()" style="cursor:pointer;text-decoration:underline;"><?php _e('Uncheck All', 'gtranslate'); ?></a><br /><br />
|
| 842 |
|
| 843 |
<div style="overflow:hidden;">
|
| 844 |
-
<?php $gt_lang_codes = explode(',', $
|
| 845 |
-
<?php for($i = 0; $i <
|
| 846 |
<ul style="list-style-type:none;width:25%;float:left;" class="connectedSortable1">
|
| 847 |
-
<?php for($j = $i *
|
| 848 |
<?php if(isset($gt_lang_codes[$j])): ?>
|
| 849 |
<li><input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="fincl_langs<?php echo $gt_lang_codes[$j]; ?>" name="fincl_langs[]" value="<?php echo $gt_lang_codes[$j]; ?>"><label for="fincl_langs<?php echo $gt_lang_codes[$j]; ?>"><span class="en_names"><?php _e($gt_lang_array[$gt_lang_codes[$j]], 'gtranslate'); ?></span><span class="native_names" style="display:none;"><?php echo $native_names_map[$gt_lang_codes[$j]]; ?></span></label></li>
|
| 850 |
<?php endif; ?>
|
|
@@ -1016,7 +1078,7 @@ foreach($alt_flags as $flag)
|
|
| 1016 |
$data['new_window'] = isset($_POST['new_window']) ? intval($_POST['new_window']) : '';
|
| 1017 |
$data['show_in_menu'] = isset($_POST['show_in_menu']) ? sanitize_text_field($_POST['show_in_menu']) : '';
|
| 1018 |
$data['floating_language_selector'] = isset($_POST['floating_language_selector']) ? sanitize_text_field($_POST['floating_language_selector']) : 'no';
|
| 1019 |
-
$data['native_language_names'] = isset($_POST['native_language_names']) ? intval($_POST['native_language_names']) :
|
| 1020 |
$data['analytics'] = isset($_POST['analytics']) ? intval($_POST['analytics']) : '';
|
| 1021 |
$data['add_new_line'] = isset($_POST['add_new_line']) ? intval($_POST['add_new_line']) : '';
|
| 1022 |
$data['default_language'] = isset($_POST['default_language']) ? sanitize_text_field($_POST['default_language']) : 'en';
|
|
@@ -1077,7 +1139,7 @@ foreach($alt_flags as $flag)
|
|
| 1077 |
$data['new_window'] = isset($data['new_window']) ? $data['new_window'] : '';
|
| 1078 |
$data['show_in_menu'] = isset($data['show_in_menu']) ? $data['show_in_menu'] : ((isset($data['show_in_primary_menu']) and $data['show_in_primary_menu'] == 1) ? 'primary' : '');
|
| 1079 |
$data['floating_language_selector'] = isset($data['floating_language_selector']) ? $data['floating_language_selector'] : 'no';
|
| 1080 |
-
$data['native_language_names'] = isset($data['native_language_names']) ? $data['native_language_names'] :
|
| 1081 |
$data['analytics'] = isset($data['analytics']) ? $data['analytics'] : '';
|
| 1082 |
$data['add_new_line'] = isset($data['add_new_line']) ? $data['add_new_line'] : '1';
|
| 1083 |
|
|
@@ -1407,21 +1469,31 @@ if(!empty($data['show_in_menu'])) {
|
|
| 1407 |
GTranslate::load_defaults($data);
|
| 1408 |
|
| 1409 |
if($args->theme_location == $data['show_in_menu']) {
|
| 1410 |
-
$
|
| 1411 |
-
|
| 1412 |
$items .= '<div style="position:absolute;">';
|
| 1413 |
-
|
| 1414 |
-
if($data['widget_look'] == 'dropdown_with_flags')
|
| 1415 |
$items .= '</div>';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1416 |
|
| 1417 |
-
|
| 1418 |
-
// adding css
|
| 1419 |
-
$items .= '<style type="text/css">';
|
| 1420 |
-
$items .= '.menu-item-gtranslate a {display:inline !important;padding:0 !important;margin:0 !important;}';
|
| 1421 |
-
$items .= '</style>';
|
| 1422 |
}
|
| 1423 |
|
| 1424 |
-
$items .= '</li>';
|
| 1425 |
}
|
| 1426 |
|
| 1427 |
return $items;
|
| 3 |
Plugin Name: GTranslate
|
| 4 |
Plugin URI: https://gtranslate.io/?xyz=998
|
| 5 |
Description: Makes your website <strong>multilingual</strong> and available to the world using Google Translate. For support visit <a href="https://wordpress.org/support/plugin/gtranslate">GTranslate Support</a>.
|
| 6 |
+
Version: 2.8.9
|
| 7 |
Author: Edvard Ananyan
|
| 8 |
Author URI: https://gtranslate.io
|
| 9 |
Text Domain: gtranslate
|
| 220 |
jQuery('#url_translation_option').hide();
|
| 221 |
}
|
| 222 |
|
| 223 |
+
if(widget_look == 'dropdown' || widget_look == 'flags_dropdown' || widget_look == 'globe' || widget_look == 'lang_names' || widget_look == 'lang_codes') {
|
| 224 |
jQuery('#dropdown_languages_option').show();
|
| 225 |
} else {
|
| 226 |
jQuery('#dropdown_languages_option').hide();
|
| 232 |
jQuery('#alternative_flags_option').hide();
|
| 233 |
}
|
| 234 |
|
| 235 |
+
if(widget_look == 'flags' || widget_look == 'flags_dropdown' || widget_look == 'dropdown_with_flags' || widget_look == 'flags_name' || widget_look == 'flags_code') {
|
| 236 |
jQuery('#flag_languages_option').show();
|
| 237 |
jQuery('#alternative_flags_option').show();
|
| 238 |
} else {
|
| 241 |
jQuery('#alternative_flags_option').hide();
|
| 242 |
}
|
| 243 |
|
| 244 |
+
if(widget_look == 'flags_dropdown') {
|
|
|
|
|
|
|
| 245 |
jQuery('#line_break_option').show();
|
| 246 |
+
} else {
|
| 247 |
+
jQuery('#line_break_option').hide();
|
| 248 |
}
|
| 249 |
|
| 250 |
+
if(widget_look == 'dropdown_with_flags' || widget_look == 'dropdown' || widget_look == 'lang_names' || widget_look == 'lang_codes') {
|
| 251 |
jQuery('#flag_size_option').hide();
|
| 252 |
} else {
|
| 253 |
jQuery('#flag_size_option').show();
|
| 267 |
pro_version = false;
|
| 268 |
|
| 269 |
if(translation_method == 'on_fly' || translation_method == 'redirect' || translation_method == 'onfly') {
|
| 270 |
+
// Adding flags and names
|
| 271 |
+
if(widget_look == 'flags' || widget_look == 'flags_dropdown' || widget_look == 'flags_name' || widget_look == 'flags_code' || widget_look == 'lang_names' || widget_look == 'lang_codes') {
|
| 272 |
+
jQuery.each(language_codes2, function(i, val) {
|
| 273 |
+
lang = language_codes2[i];
|
| 274 |
+
if(widget_look == 'lang_names' || widget_look == 'lang_codes')
|
| 275 |
+
chklist = '#incl_langs';
|
| 276 |
+
else
|
| 277 |
+
chklist = '#fincl_langs';
|
| 278 |
+
if(jQuery(chklist+lang+':checked').length) {
|
| 279 |
lang_name = gt_lang_array[lang];
|
|
|
|
|
|
|
| 280 |
|
| 281 |
var href = '#';
|
| 282 |
if(pro_version)
|
| 284 |
else if(enterprise_version)
|
| 285 |
href = (lang == default_language) ? '$site_url' : '$site_url'.replace('$site_url'.split('/').slice(2, 3)[0].replace('www.', ''), lang + '.' + '$site_url'.split('/').slice(2, 3)[0].replace('www.', '')).replace('://www.', '://');
|
| 286 |
|
| 287 |
+
widget_preview += '<a href="'+href+'" onclick="doGTranslate(\''+default_language+'|'+lang+'\');return false;" title="'+lang_name+'" class="glink nturl notranslate">';
|
| 288 |
+
|
| 289 |
+
//adding language flag
|
| 290 |
+
if(widget_look == 'flags' || widget_look == 'flags_dropdown' || widget_look == 'flags_name' || widget_look == 'flags_code') {
|
| 291 |
+
if(lang == 'en' && jQuery('#alt_us:checked').length)
|
| 292 |
+
widget_preview += '<img src="{$wp_plugin_url}/flags/'+flag_size+'/en-us.png" height="'+flag_size+'" width="'+flag_size+'" alt="'+lang_name+'" />';
|
| 293 |
+
else if(lang == 'pt' && jQuery('#alt_br:checked').length)
|
| 294 |
+
widget_preview += '<img src="{$wp_plugin_url}/flags/'+flag_size+'/pt-br.png" height="'+flag_size+'" width="'+flag_size+'" alt="'+lang_name+'" />';
|
| 295 |
+
else if(lang == 'es' && jQuery('#alt_mx:checked').length)
|
| 296 |
+
widget_preview += '<img src="{$wp_plugin_url}/flags/'+flag_size+'/es-mx.png" height="'+flag_size+'" width="'+flag_size+'" alt="'+lang_name+'" />';
|
| 297 |
+
else
|
| 298 |
+
widget_preview += '<img src="{$wp_plugin_url}/flags/'+flag_size+'/'+lang+'.png" height="'+flag_size+'" width="'+flag_size+'" alt="'+lang_name+'" />';
|
| 299 |
+
}
|
| 300 |
+
|
| 301 |
+
// adding language name/code
|
| 302 |
+
if(widget_look == 'flags_name')
|
| 303 |
+
widget_preview += ' <span>'+lang_name+'</span></a> ';
|
| 304 |
+
else if(widget_look == 'lang_names')
|
| 305 |
+
widget_preview += lang_name+'</a> ';
|
| 306 |
+
else if(widget_look == 'flags_code')
|
| 307 |
+
widget_preview += ' <span>'+lang.toUpperCase()+'</span></a> ';
|
| 308 |
+
else if(widget_look == 'lang_codes')
|
| 309 |
+
widget_preview += lang.toUpperCase()+'</a> ';
|
| 310 |
+
else if(widget_look == 'flags')
|
| 311 |
+
widget_preview += '</a>';
|
| 312 |
+
else if(widget_look == 'flags_dropdown')
|
| 313 |
+
widget_preview += '</a>';
|
| 314 |
}
|
| 315 |
});
|
| 316 |
}
|
| 321 |
widget_preview += '<br />';
|
| 322 |
else
|
| 323 |
widget_preview += ' ';
|
| 324 |
+
if(native_language_names)
|
| 325 |
+
widget_preview += '<select onchange="doGTranslate(this);" class="notranslate">';
|
| 326 |
+
else
|
| 327 |
+
widget_preview += '<select onchange="doGTranslate(this);">';
|
| 328 |
+
|
| 329 |
widget_preview += '<option value="">Select Language</option>';
|
| 330 |
jQuery.each(language_codes2, function(i, val) {
|
| 331 |
lang = language_codes2[i];
|
| 449 |
// Adding slider html
|
| 450 |
widget_preview += '<div class="switcher notranslate">'+new_line;
|
| 451 |
widget_preview += '<div class="selected">'+new_line;
|
| 452 |
+
|
| 453 |
+
widget_preview += '<a href="#" onclick="return false;">';
|
| 454 |
+
|
| 455 |
+
if(default_language == 'en' && jQuery('#alt_us:checked').length)
|
| 456 |
+
widget_preview += '<img src="{$wp_plugin_url}/flags/16/en-us.png" height="16" width="16" alt="en" /> '+gt_lang_array[default_language]+'</a>'+new_line;
|
| 457 |
+
else if(default_language == 'pt' && jQuery('#alt_br:checked').length)
|
| 458 |
+
widget_preview += '<img src="{$wp_plugin_url}/flags/16/pt-br.png" height="16" width="16" alt="pt" /> '+gt_lang_array[default_language]+'</a>'+new_line;
|
| 459 |
+
else if(default_language == 'es' && jQuery('#alt_mx:checked').length)
|
| 460 |
+
widget_preview += '<img src="{$wp_plugin_url}/flags/16/es-mx.png" height="16" width="16" alt="es" /> '+gt_lang_array[default_language]+'</a>'+new_line;
|
| 461 |
+
else
|
| 462 |
+
widget_preview += '<img src="{$wp_plugin_url}/flags/16/'+default_language+'.png" height="16" width="16" alt="'+default_language+'" /> '+gt_lang_array[default_language]+'</a>'+new_line;
|
| 463 |
+
|
| 464 |
+
/*
|
| 465 |
if(default_language == 'en' && jQuery('#alt_us:checked').length)
|
| 466 |
widget_preview += '<a href="#" onclick="return false;"><span class="gflag" style="background-image:url($wp_plugin_url/alt_flags.png);background-position:-0px -0px;"><img src="$wp_plugin_url/blank.png" height="'+16+'" width="'+16+'" alt="'+default_language+'" /></span>'+gt_lang_array[default_language]+'</a>'+new_line;
|
| 467 |
else if(default_language == 'pt' && jQuery('#alt_br:checked').length)
|
| 470 |
widget_preview += '<a href="#" onclick="return false;"><span class="gflag" style="background-image:url($wp_plugin_url/alt_flags.png);background-position:-200px -0px;"><img src="$wp_plugin_url/blank.png" height="'+16+'" width="'+16+'" alt="'+default_language+'" /></span>'+gt_lang_array[default_language]+'</a>'+new_line;
|
| 471 |
else
|
| 472 |
widget_preview += '<a href="#" onclick="return false;"><span class="gflag" style="background-position:-'+languages_map[default_language.replace('-', '')+'_x']+'px -'+languages_map[default_language.replace('-', '')+'_y']+'px;"><img src="$wp_plugin_url/blank.png" height="'+16+'" width="'+16+'" alt="'+default_language+'" /></span>'+gt_lang_array[default_language]+'</a>'+new_line;
|
| 473 |
+
*/
|
| 474 |
+
|
| 475 |
widget_preview += '</div>'+new_line;
|
| 476 |
+
|
| 477 |
widget_preview += '<div class="option">'+new_line;
|
| 478 |
+
|
| 479 |
+
jQuery.each(language_codes2, function(i, val) {
|
| 480 |
+
lang = language_codes2[i];
|
| 481 |
if(jQuery('#fincl_langs'+lang+':checked').length) {
|
| 482 |
lang_name = gt_lang_array[lang];
|
| 483 |
+
//flag_x = languages_map[lang.replace('-', '')+'_x'];
|
| 484 |
+
//flag_y = languages_map[lang.replace('-', '')+'_y'];
|
| 485 |
|
| 486 |
var href = '#';
|
| 487 |
if(pro_version)
|
| 489 |
else if(enterprise_version)
|
| 490 |
href = (lang == default_language) ? '$site_url' : '$site_url'.replace('$site_url'.split('/').slice(2, 3)[0].replace('www.', ''), lang + '.' + '$site_url'.split('/').slice(2, 3)[0].replace('www.', '')).replace('://www.', '://');
|
| 491 |
|
| 492 |
+
widget_preview += '<a href="'+href+'" onclick="doGTranslate(\''+default_language+'|'+lang+'\');jQuery(\'div.switcher div.selected a\').html(jQuery(this).html());return false;" title="'+lang_name+'" class="nturl'+(default_language == lang ? ' selected' : '')+'">';
|
| 493 |
+
|
| 494 |
+
if(lang == 'en' && jQuery('#alt_us:checked').length)
|
| 495 |
+
widget_preview += '<img src="{$wp_plugin_url}/flags/16/en-us.png" height="16" width="16" alt="en" /> '+lang_name+'</a>';
|
| 496 |
+
else if(lang == 'pt' && jQuery('#alt_br:checked').length)
|
| 497 |
+
widget_preview += '<img src="{$wp_plugin_url}/flags/16/pt-br.png" height="16" width="16" alt="pt" /> '+lang_name+'</a>';
|
| 498 |
+
else if(lang == 'es' && jQuery('#alt_mx:checked').length)
|
| 499 |
+
widget_preview += '<img src="{$wp_plugin_url}/flags/16/es-mx.png" height="16" width="16" alt="es" /> '+lang_name+'</a>';
|
| 500 |
+
else
|
| 501 |
+
widget_preview += '<img src="{$wp_plugin_url}/flags/16/'+lang+'.png" height="16" width="16" alt="'+lang+'" /> '+lang_name+'</a>';
|
| 502 |
+
|
| 503 |
+
/*
|
| 504 |
if(lang == 'en' && jQuery('#alt_us:checked').length)
|
| 505 |
widget_preview += '<a href="'+href+'" onclick="doGTranslate(\''+default_language+'|'+lang+'\');jQuery(this).parent().parent().find(\'div.selected a\').html(jQuery(this).html());return false;" title="'+lang_name+'" class="nturl'+(default_language == lang ? ' selected' : '')+'"><span class="gflag" style="background-image:url($wp_plugin_url/alt_flags.png);background-position:-0px -0px;"><img src="$wp_plugin_url/blank.png" height="'+16+'" width="'+16+'" alt="'+lang+'" /></span>'+lang_name+'</a>';
|
| 506 |
else if(lang == 'pt' && jQuery('#alt_br:checked').length)
|
| 509 |
widget_preview += '<a href="'+href+'" onclick="doGTranslate(\''+default_language+'|'+lang+'\');jQuery(this).parent().parent().find(\'div.selected a\').html(jQuery(this).html());return false;" title="'+lang_name+'" class="nturl'+(default_language == lang ? ' selected' : '')+'"><span class="gflag" style="background-image:url($wp_plugin_url/alt_flags.png);background-position:-200px -0px;"><img src="$wp_plugin_url/blank.png" height="'+16+'" width="'+16+'" alt="'+lang+'" /></span>'+lang_name+'</a>';
|
| 510 |
else
|
| 511 |
widget_preview += '<a href="'+href+'" onclick="doGTranslate(\''+default_language+'|'+lang+'\');jQuery(this).parent().parent().find(\'div.selected a\').html(jQuery(this).html());return false;" title="'+lang_name+'" class="nturl'+(default_language == lang ? ' selected' : '')+'"><span class="gflag" style="background-position:-'+flag_x+'px -'+flag_y+'px;"><img src="$wp_plugin_url/blank.png" height="'+16+'" width="'+16+'" alt="'+lang+'" /></span>'+lang_name+'</a>';
|
| 512 |
+
*/
|
| 513 |
}
|
| 514 |
});
|
| 515 |
|
| 525 |
|
| 526 |
// Adding slider css
|
| 527 |
widget_preview += '<style type="text/css">'+new_line;
|
| 528 |
+
//widget_preview += 'span.gflag {font-size:16px;padding:1px 0;background-repeat:no-repeat;background-image:url($wp_plugin_url/16.png);}'+new_line;
|
| 529 |
+
//widget_preview += 'span.gflag img {border:0;margin-top:2px;}'+new_line;
|
| 530 |
widget_preview += '.switcher {font-family:Arial;font-size:10pt;text-align:left;cursor:pointer;overflow:hidden;width:163px;line-height:17px;}'+new_line;
|
| 531 |
widget_preview += '.switcher a {text-decoration:none;display:block;font-size:10pt;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;}'+new_line;
|
| 532 |
+
//widget_preview += '.switcher a span.gflag {margin-right:3px;padding:0;display:block;float:left;}'+new_line;
|
| 533 |
+
widget_preview += '.switcher a img {vertical-align:middle;display:inline;border:0;padding:0;margin:0;opacity:0.8;}'+new_line;
|
| 534 |
+
widget_preview += '.switcher a:hover img {opacity:1;}'+new_line;
|
| 535 |
widget_preview += '.switcher .selected {background:#FFFFFF url($wp_plugin_url/switcher.png) repeat-x;position:relative;z-index:9999;}'+new_line;
|
| 536 |
widget_preview += '.switcher .selected a {border:1px solid #CCCCCC;background:url($wp_plugin_url/arrow_down.png) 146px center no-repeat;color:#666666;padding:3px 5px;width:151px;}'+new_line;
|
| 537 |
widget_preview += '.switcher .selected a.open {background-image:url($wp_plugin_url/arrow_up.png)}'+new_line;
|
| 623 |
jQuery('#url_translation_option').show();
|
| 624 |
}
|
| 625 |
|
| 626 |
+
if('$widget_look' == 'dropdown' || '$widget_look' == 'flags_dropdown' || '$widget_look' == 'globe' || '$widget_look' == 'lang_names' || '$widget_look' == 'lang_codes') {
|
| 627 |
jQuery('#dropdown_languages_option').show();
|
| 628 |
} else {
|
| 629 |
jQuery('#dropdown_languages_option').hide();
|
| 635 |
jQuery('#alternative_flags_option').hide();
|
| 636 |
}
|
| 637 |
|
| 638 |
+
if('$widget_look' == 'flags' || '$widget_look' == 'flags_dropdown' || '$widget_look' == 'dropdown_with_flags' || '$widget_look' == 'flags_name' || '$widget_look' == 'flags_code') {
|
| 639 |
jQuery('#flag_languages_option').show();
|
| 640 |
jQuery('#alternative_flags_option').show();
|
| 641 |
} else {
|
| 644 |
jQuery('#alternative_flags_option').hide();
|
| 645 |
}
|
| 646 |
|
| 647 |
+
if('$widget_look' == 'flags_dropdown') {
|
|
|
|
|
|
|
| 648 |
jQuery('#line_break_option').show();
|
| 649 |
+
} else {
|
| 650 |
+
jQuery('#line_break_option').hide();
|
| 651 |
}
|
| 652 |
|
| 653 |
+
if('$widget_look' == 'dropdown_with_flags' || '$widget_look' == 'dropdown' || '$widget_look' == 'flags_name' || '$widget_look' == 'flags_code') {
|
| 654 |
jQuery('#flag_size_option').hide();
|
| 655 |
} else {
|
| 656 |
jQuery('#flag_size_option').show();
|
| 721 |
<option value="dropdown_with_flags"><?php _e('Nice dropdown with flags', 'gtranslate'); ?></option>
|
| 722 |
<option value="dropdown"><?php _e('Dropdown', 'gtranslate'); ?></option>
|
| 723 |
<option value="flags"><?php _e('Flags', 'gtranslate'); ?></option>
|
| 724 |
+
<option value="globe">(new) <?php _e('Globe', 'gtranslate'); ?></option>
|
| 725 |
+
<option value="flags_name">(new) <?php _e('Flags with language name', 'gtranslate'); ?></option>
|
| 726 |
+
<option value="flags_code">(new) <?php _e('Flags with language code', 'gtranslate'); ?></option>
|
| 727 |
+
<option value="lang_names">(new) <?php _e('Language names', 'gtranslate'); ?></option>
|
| 728 |
+
<option value="lang_codes">(new) <?php _e('Language codes', 'gtranslate'); ?></option>
|
| 729 |
</select>
|
| 730 |
</td>
|
| 731 |
</tr>
|
| 895 |
<option value="16" selected>16px</option>
|
| 896 |
<option value="24">24px</option>
|
| 897 |
<option value="32">32px</option>
|
| 898 |
+
<option value="48">48px</option>
|
| 899 |
</select>
|
| 900 |
</td>
|
| 901 |
</tr>
|
| 903 |
<td class="option_name" colspan="2"><?php _e('Flag languages', 'gtranslate'); ?>: <a onclick="jQuery('.connectedSortable1 input').attr('checked', true);RefreshDoWidgetCode()" style="cursor:pointer;text-decoration:underline;"><?php _e('Check All', 'gtranslate'); ?></a> | <a onclick="jQuery('.connectedSortable1 input').attr('checked', false);RefreshDoWidgetCode()" style="cursor:pointer;text-decoration:underline;"><?php _e('Uncheck All', 'gtranslate'); ?></a><br /><br />
|
| 904 |
|
| 905 |
<div style="overflow:hidden;">
|
| 906 |
+
<?php $gt_lang_codes = explode(',', $language_codes2); ?>
|
| 907 |
+
<?php for($i = 0; $i < count($gt_lang_array) / 26; $i++): ?>
|
| 908 |
<ul style="list-style-type:none;width:25%;float:left;" class="connectedSortable1">
|
| 909 |
+
<?php for($j = $i * 26; $j < 26 * ($i+1); $j++): ?>
|
| 910 |
<?php if(isset($gt_lang_codes[$j])): ?>
|
| 911 |
<li><input type="checkbox" onclick="RefreshDoWidgetCode()" onchange="RefreshDoWidgetCode()" id="fincl_langs<?php echo $gt_lang_codes[$j]; ?>" name="fincl_langs[]" value="<?php echo $gt_lang_codes[$j]; ?>"><label for="fincl_langs<?php echo $gt_lang_codes[$j]; ?>"><span class="en_names"><?php _e($gt_lang_array[$gt_lang_codes[$j]], 'gtranslate'); ?></span><span class="native_names" style="display:none;"><?php echo $native_names_map[$gt_lang_codes[$j]]; ?></span></label></li>
|
| 912 |
<?php endif; ?>
|
| 1078 |
$data['new_window'] = isset($_POST['new_window']) ? intval($_POST['new_window']) : '';
|
| 1079 |
$data['show_in_menu'] = isset($_POST['show_in_menu']) ? sanitize_text_field($_POST['show_in_menu']) : '';
|
| 1080 |
$data['floating_language_selector'] = isset($_POST['floating_language_selector']) ? sanitize_text_field($_POST['floating_language_selector']) : 'no';
|
| 1081 |
+
$data['native_language_names'] = isset($_POST['native_language_names']) ? intval($_POST['native_language_names']) : 1;
|
| 1082 |
$data['analytics'] = isset($_POST['analytics']) ? intval($_POST['analytics']) : '';
|
| 1083 |
$data['add_new_line'] = isset($_POST['add_new_line']) ? intval($_POST['add_new_line']) : '';
|
| 1084 |
$data['default_language'] = isset($_POST['default_language']) ? sanitize_text_field($_POST['default_language']) : 'en';
|
| 1139 |
$data['new_window'] = isset($data['new_window']) ? $data['new_window'] : '';
|
| 1140 |
$data['show_in_menu'] = isset($data['show_in_menu']) ? $data['show_in_menu'] : ((isset($data['show_in_primary_menu']) and $data['show_in_primary_menu'] == 1) ? 'primary' : '');
|
| 1141 |
$data['floating_language_selector'] = isset($data['floating_language_selector']) ? $data['floating_language_selector'] : 'no';
|
| 1142 |
+
$data['native_language_names'] = isset($data['native_language_names']) ? $data['native_language_names'] : 1;
|
| 1143 |
$data['analytics'] = isset($data['analytics']) ? $data['analytics'] : '';
|
| 1144 |
$data['add_new_line'] = isset($data['add_new_line']) ? $data['add_new_line'] : '1';
|
| 1145 |
|
| 1469 |
GTranslate::load_defaults($data);
|
| 1470 |
|
| 1471 |
if($args->theme_location == $data['show_in_menu']) {
|
| 1472 |
+
if($data['widget_look'] == 'dropdown_with_flags') {
|
| 1473 |
+
$items .= '<li style="position:relative;" class="menu-item menu-item-gtranslate">';
|
| 1474 |
$items .= '<div style="position:absolute;">';
|
| 1475 |
+
$items .= GTranslate::get_widget_code(false);
|
|
|
|
| 1476 |
$items .= '</div>';
|
| 1477 |
+
$items .= '</li>';
|
| 1478 |
+
|
| 1479 |
+
} else if($data['widget_look'] == 'globe' or $data['widget_look'] == 'dropdown' or $data['widget_look'] == 'flags_dropdown') {
|
| 1480 |
+
$items .= '<li style="position:relative;" class="menu-item menu-item-gtranslate">';
|
| 1481 |
+
$items .= GTranslate::get_widget_code(false);
|
| 1482 |
+
$items .= '</li>';
|
| 1483 |
+
|
| 1484 |
+
if($data['widget_look'] == 'flags_dropdown') {
|
| 1485 |
+
$items .= '<style type="text/css">.menu-item-gtranslate a {display:inline !important;padding:0 !important;margin:0 !important;}</style>';
|
| 1486 |
+
}
|
| 1487 |
+
|
| 1488 |
+
} else {
|
| 1489 |
+
// optimize menu look
|
| 1490 |
+
$html = GTranslate::get_widget_code(false);
|
| 1491 |
+
$html = str_replace('<a ', '<li style="position:relative;" class="menu-item menu-item-gtranslate"><a ', $html);
|
| 1492 |
+
$html = str_replace('</a>', '</a></li>', $html);
|
| 1493 |
|
| 1494 |
+
$items .= $html;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1495 |
}
|
| 1496 |
|
|
|
|
| 1497 |
}
|
| 1498 |
|
| 1499 |
return $items;
|
readme.txt
CHANGED
|
@@ -4,7 +4,7 @@ Author: Edvard Ananyan
|
|
| 4 |
Tags: translation proxy, localization, translate, translation, google translate, language, multilingual, multilanguage, bilingual, tradurre, traducir, traduire, traduzione, ubersetzung, mehrsprachig, oversette, oversatta, vertaling, vertaler, meertalig, polylang, qtranslate, transposh, wpml, l18n
|
| 5 |
Requires at least: 2.8
|
| 6 |
Tested up to: 4.7
|
| 7 |
-
Stable tag: 2.8.
|
| 8 |
License: GPLv2 or later
|
| 9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 10 |
Donate link: https://gtranslate.io/?xyz=998#pricing
|
|
@@ -31,7 +31,7 @@ Please check our [FAQ](https://gtranslate.io/?xyz=998#faq) to get quick answers.
|
|
| 31 |
* Google Analytics integration
|
| 32 |
* Translates the site on the fly
|
| 33 |
* Google language translator widget
|
| 34 |
-
* Available styles Dropdown
|
| 35 |
* Floating language selector
|
| 36 |
* Language bar in menu
|
| 37 |
* Multilanguage
|
|
@@ -62,6 +62,112 @@ Keywords: polylang, prisna, gts, localize, lingotek, smartling, qtranslate, loco
|
|
| 62 |
|
| 63 |
== Google Translate history ==
|
| 64 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 65 |
= Supported languages =
|
| 66 |
**1st stage**
|
| 67 |
|
|
@@ -409,9 +515,20 @@ You need to go to the language you want to edit, for instance, French: http://do
|
|
| 409 |
2. Nice dropdown with flags (closed)
|
| 410 |
3. Nice dropdown with flags (open)
|
| 411 |
4. Globe with language flags
|
|
|
|
|
|
|
| 412 |
|
| 413 |
== Changelog ==
|
| 414 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 415 |
= 2.8.8 =
|
| 416 |
* Fix for flags rendering issue in menu
|
| 417 |
* Fix for analytics code in onfly mode
|
|
@@ -648,6 +765,9 @@ You need to go to the language you want to edit, for instance, French: http://do
|
|
| 648 |
* Initial version for WordPress
|
| 649 |
|
| 650 |
== Upgrade Notice ==
|
|
|
|
|
|
|
|
|
|
| 651 |
= 2.8.8 =
|
| 652 |
Make sure to regenerate the widget code from GTranslate Settings page by checking/unchecking Analytics feature and Saving changes.
|
| 653 |
|
| 4 |
Tags: translation proxy, localization, translate, translation, google translate, language, multilingual, multilanguage, bilingual, tradurre, traducir, traduire, traduzione, ubersetzung, mehrsprachig, oversette, oversatta, vertaling, vertaler, meertalig, polylang, qtranslate, transposh, wpml, l18n
|
| 5 |
Requires at least: 2.8
|
| 6 |
Tested up to: 4.7
|
| 7 |
+
Stable tag: 2.8.9
|
| 8 |
License: GPLv2 or later
|
| 9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 10 |
Donate link: https://gtranslate.io/?xyz=998#pricing
|
| 31 |
* Google Analytics integration
|
| 32 |
* Translates the site on the fly
|
| 33 |
* Google language translator widget
|
| 34 |
+
* Available styles Dropdown, Flags, Flags with dropdown, Nice dropdown with flags, Flags with language names, Flags with language codes, Language names, Language codes, Globe
|
| 35 |
* Floating language selector
|
| 36 |
* Language bar in menu
|
| 37 |
* Multilanguage
|
| 62 |
|
| 63 |
== Google Translate history ==
|
| 64 |
|
| 65 |
+
= Country Language Map =
|
| 66 |
+
United Kingdom (alt USA) English en
|
| 67 |
+
South Africa Afrikaans af
|
| 68 |
+
Albania Albanian sq
|
| 69 |
+
Ethiopia Amharic am
|
| 70 |
+
Arab League Arabic ar
|
| 71 |
+
Armenia Armenian hy
|
| 72 |
+
Azerbaijan Azerbaijani az
|
| 73 |
+
Basque Country Basque eu
|
| 74 |
+
Belarus Belarusian be
|
| 75 |
+
Bangladesh Bengali bn
|
| 76 |
+
Bosnia & Herzegovina Bosnian bs
|
| 77 |
+
Bulgaria Bulgarian bg
|
| 78 |
+
Catalonia Catalan ca
|
| 79 |
+
Philippines Cebuano ceb
|
| 80 |
+
Malawi Chichewa ny
|
| 81 |
+
China Chinese (Simplified) zh-CN
|
| 82 |
+
Taiwan Chinese (Traditional) zh-TW
|
| 83 |
+
Corsica Corsican co
|
| 84 |
+
Croatia Croatian hr
|
| 85 |
+
Czech Republic Czech cs
|
| 86 |
+
Denmark Danish da
|
| 87 |
+
Netherlands Dutch nl
|
| 88 |
+
Esperanto Esperanto eo
|
| 89 |
+
Estonia Estonian et
|
| 90 |
+
Philippines Filipino tl
|
| 91 |
+
Finland Finnish fi
|
| 92 |
+
France French fr
|
| 93 |
+
Frisia Frisian fy
|
| 94 |
+
Galicia Galician gl
|
| 95 |
+
Georgia Georgian ka
|
| 96 |
+
Germany German de
|
| 97 |
+
Greece Greek el
|
| 98 |
+
India Gujarati gu
|
| 99 |
+
Haiti Haitian Creole ht
|
| 100 |
+
Nigeria Hausa ha
|
| 101 |
+
Hawaii state Hawaiian haw
|
| 102 |
+
Israel Hebrew iw
|
| 103 |
+
India Hindi hi
|
| 104 |
+
China Hmong hmn
|
| 105 |
+
Hungary Hungarian hu
|
| 106 |
+
Iceland Icelandic is
|
| 107 |
+
Nigeria Igbo ig
|
| 108 |
+
Indonezia Indonesian id
|
| 109 |
+
Ireland Irish ga
|
| 110 |
+
Italy Italian it
|
| 111 |
+
Japan Japanese ja
|
| 112 |
+
Indonezia Javanese jw
|
| 113 |
+
India Kannada kn
|
| 114 |
+
Kazakhstan Kazakh kk
|
| 115 |
+
Cambodja Khmer km
|
| 116 |
+
South Korea Korean ko
|
| 117 |
+
Roj flag Kurdish (Kurmanji) ku
|
| 118 |
+
Kyrgyzstan Kyrgyz ky
|
| 119 |
+
Laos Lao lo
|
| 120 |
+
Vatican City Latin la
|
| 121 |
+
Latvia Latvian lv
|
| 122 |
+
Lithuania Lithuanian lt
|
| 123 |
+
Luxembourg Luxembourgish lb
|
| 124 |
+
Macedonia Macedonian mk
|
| 125 |
+
Madagascar Malagasy mg
|
| 126 |
+
Malaysia Malay ms
|
| 127 |
+
India Malayalam ml
|
| 128 |
+
Malta Maltese mt
|
| 129 |
+
New Zealand Maori mi
|
| 130 |
+
India Marathi mr
|
| 131 |
+
Mongolia Mongolian mn
|
| 132 |
+
Myanmar(Burma) Myanmar (Burmese) my
|
| 133 |
+
Nepal Nepali ne
|
| 134 |
+
Norway Norwegian no
|
| 135 |
+
Afghanistan Pashto ps
|
| 136 |
+
Iran Persian fa
|
| 137 |
+
Poland Polish pl
|
| 138 |
+
Portugal (alt Brazil) Portuguese pt
|
| 139 |
+
India Punjabi pa
|
| 140 |
+
Romania Romanian ro
|
| 141 |
+
Russian Federation Russian ru
|
| 142 |
+
Samoa Samoan sm
|
| 143 |
+
Scotland Scottish Gaelic gd
|
| 144 |
+
Serbia(Yugoslavia) Serbian sr
|
| 145 |
+
Lesotho Sesotho st
|
| 146 |
+
Zimbabwe Shona sn
|
| 147 |
+
Pakistan Sindhi sd
|
| 148 |
+
Sri Lanka Sinhala si
|
| 149 |
+
Slovakia Slovak sk
|
| 150 |
+
Slovenia Slovenian sl
|
| 151 |
+
Somalia Somali so
|
| 152 |
+
Spain (alt Mexico) Spanish es
|
| 153 |
+
Sudan Sudanese su
|
| 154 |
+
Tanzania Swahili sw
|
| 155 |
+
Sweden Swedish sv
|
| 156 |
+
Tajikistan Tajik tg
|
| 157 |
+
India Tamil ta
|
| 158 |
+
India Telugu te
|
| 159 |
+
Thailand Thai th
|
| 160 |
+
Turkey Turkish tr
|
| 161 |
+
Ukraine Ukrainian uk
|
| 162 |
+
Pakistan Urdu ur
|
| 163 |
+
Uzbekistan Uzbek uz
|
| 164 |
+
Viet Nam Vietnamese vi
|
| 165 |
+
Wales Welsh cy
|
| 166 |
+
South Africa Xhosa xh
|
| 167 |
+
Israel Yiddish yi
|
| 168 |
+
Nigeria Yoruba yo
|
| 169 |
+
South Africa Zulu zu
|
| 170 |
+
|
| 171 |
= Supported languages =
|
| 172 |
**1st stage**
|
| 173 |
|
| 515 |
2. Nice dropdown with flags (closed)
|
| 516 |
3. Nice dropdown with flags (open)
|
| 517 |
4. Globe with language flags
|
| 518 |
+
5. Flags with language names
|
| 519 |
+
6. Flags with language codes
|
| 520 |
|
| 521 |
== Changelog ==
|
| 522 |
|
| 523 |
+
= 2.8.9 =
|
| 524 |
+
* Major changes
|
| 525 |
+
* Added missing flags, so all 104 languages have flags now
|
| 526 |
+
* New 48px size flags added
|
| 527 |
+
* New widget look added Flags and Language name
|
| 528 |
+
* New widget look added Flags and Language code
|
| 529 |
+
* New widget look added Language names
|
| 530 |
+
* New widget look added Language codes
|
| 531 |
+
|
| 532 |
= 2.8.8 =
|
| 533 |
* Fix for flags rendering issue in menu
|
| 534 |
* Fix for analytics code in onfly mode
|
| 765 |
* Initial version for WordPress
|
| 766 |
|
| 767 |
== Upgrade Notice ==
|
| 768 |
+
= 2.8.9 =
|
| 769 |
+
Major changes, new flags added, optimized for HTTP/2 (SPDY).
|
| 770 |
+
|
| 771 |
= 2.8.8 =
|
| 772 |
Make sure to regenerate the widget code from GTranslate Settings page by checking/unchecking Analytics feature and Saving changes.
|
| 773 |
|
