GTranslate Dynamic Media

By unclhos

★ 5.0/5 (1 ratings)100+ active installationsVersion 1.0

This plugin allows media to be switch out when using GTranslate to translate your site. This will allow for videos or text images in multiple language …

Description

This plugin allows media to be switch out when using GTranslate to translate your site. This will allow for videos or text images in multiple languages to be switch out for the language the user is viewing the site in.

Usage

Wrap your content you want switched out in the “gtdm” shortcode.
Example: [gtdm lang=”en”] MEDIA HTML HERE [/gtdm]

You must use the langauge abbriveation supported by GTranslate.

Afrikaans = af
Albanian = sq
Arabic = ar
Armenian = hy
Azerbaijani = az
Basque = eu
Belarusian = be
Bulgarian = bg
Catalan = ca
Chinese (Simplified) = zh-CN
Chinese (Traditional) = zh-TW
Croatian = hr
Czech = cs
Danish = da
Dutch = nl
English = en
Estonian = et
Filipino = tl
Finnish = fi
French = fr
Galician = gl
Georgian = ka
German = de
Greek = el
Haitian Creole = ht
Hebrew = iw
Hindi = hi
Hungarian = hu
Icelandic = is
Indonesian = id
Irish = ga
Italian = it
Japanese = ja
Korean = ko
Latvian = lv
Lithuanian = lt
Macedonian = mk
Malay = ms
Maltese = mt
Norwegian = no
Persian = fa
Polish = pl
Portuguese = pt
Romanian = ro
Russian = ru
Serbian = sr
Slovak = sk
Slovenian = sl
Spanish = es
Swahili = sw
Swedish = sv
Thai = th
Turkish = tr
Ukrainian = uk
Urdu = ur
Vietnamese = vi
Welsh = cy
Yiddish = yi

Installation

Installation

  1. Upload extracted folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

Changelog

1.0

Initial Release