Transposh WordPress Translation - Version 0.9.5

Version Description

Fix hiding of upgrades

Download this release

Release Info

Developer oferwald
Plugin Icon 128x128 Transposh WordPress Translation
Version 0.9.5
Comparing to
See all releases

Code changes from version 0.9.4 to 0.9.5

Files changed (3) hide show
  1. core/constants.php +18 -4
  2. readme.txt +9 -5
  3. transposh.php +3 -3
core/constants.php CHANGED
@@ -48,7 +48,7 @@ class transposh_consts {
48
 
49
  //Supported languages, new languages can be added here
50
  //the array directs from language code to - English Name, Native name, flag
51
- public static $languages = array(
52
  'en' => 'English,English,us,en_US',
53
  'af' => 'Afrikaans,Afrikaans,za,',
54
  'sq' => 'Albanian,Shqip,al,',
@@ -58,8 +58,10 @@ class transposh_consts {
58
  'eu' => 'Basque,Euskara,basque,',
59
  'be' => 'Belarusian,Беларуская,by,',
60
  'bn' => 'Bengali,বাংলা,bd,bn_BD',
 
61
  'bg' => 'Bulgarian,Български,bg,bg_BG',
62
  'ca' => 'Catalan,Català,catalonia,',
 
63
  'zh' => 'Chinese (Simplified),中文(简体),cn,zh_CN',
64
  'zh-tw' => 'Chinese (Traditional),中文(漢字),tw,zh_TW',
65
  'hr' => 'Croatian,Hrvatski,hr,',
@@ -76,15 +78,19 @@ class transposh_consts {
76
  'el' => 'Greek,Ελληνικά,gr,',
77
  'gu' => 'Gujarati,ગુજરાતી,in,',
78
  'ht' => 'Haitian,Kreyòl ayisyen,ht,',
 
 
79
  'mw' => 'Hmong Daw,Hmoob Daw,la,',
80
  'he' => 'Hebrew,עברית,il,he_IL',
81
  'hi' => 'Hindi,हिन्दी; हिंदी,in,hi_IN',
82
  'hu' => 'Hungarian,Magyar,hu,hu_HU',
83
  'is' => 'Icelandic,Íslenska,is,',
 
84
  'id' => 'Indonesian,Bahasa Indonesia,id,id_ID',
85
  'ga' => 'Irish,Gaeilge,ie,',
86
  'it' => 'Italian,Italiano,it,it_IT',
87
  'ja' => 'Japanese,日本語,jp,',
 
88
  'kn' => 'Kannada,ಕನ್ನಡ,in,',
89
  'km' => 'Khmer,ភាសាខ្មែរ,kh,',
90
  'ko' => 'Korean,한국어,kr,ko_KR',
@@ -95,20 +101,26 @@ class transposh_consts {
95
  'mk' => 'Macedonian,македонски јазик,mk,mk_MK',
96
  'ms' => 'Malay,Bahasa Melayu,my,ms_MY',
97
  'mt' => 'Maltese,Malti,mt,',
 
 
 
 
98
  'no' => 'Norwegian,Norsk,no,nb_NO',
99
  'fa' => 'Persian,پارسی,ir,fa_IR',
100
  'pl' => 'Polish,Polski,pl,pl_PL',
101
  'pt' => 'Portuguese,Português,pt,pt_PT',
 
102
  'ro' => 'Romanian,Română,ro,ro_RO',
103
  'ru' => 'Russian,Русский,ru,ru_RU',
104
  'sr' => 'Serbian,Cрпски језик,rs,sr_RS',
105
  'sk' => 'Slovak,Slovenčina,sk,sk_SK',
106
  'sl' => 'Slovene,Slovenščina,si,sl_SI', //slovenian
 
107
  'es' => 'Spanish,Español,es,es_ES',
108
  'sw' => 'Swahili,Kiswahili,tz,',
109
  'sv' => 'Swedish,Svenska,se,sv_SE',
110
  'tl' => 'Tagalog,Tagalog,ph,', // fhilipino
111
- 'ta' => 'Tamil,தமிழ்,lk,ta_LK',
112
  'te' => 'Telugu,తెలుగు,in,',
113
  'th' => 'Thai,ภาษาไทย,th,',
114
  'tr' => 'Turkish,Türkçe,tr,tr_TR',
@@ -116,9 +128,11 @@ class transposh_consts {
116
  'ur' => 'Urdu,اردو,pk,',
117
  'vi' => 'Vietnamese,Tiếng Việt,vn,',
118
  'cy' => 'Welsh,Cymraeg,wales,',
119
- 'yi' => 'Yiddish,ייִדיש,europeanunion,'
 
 
120
  );
121
-
122
  public static function get_language_name($lang) {
123
  list ($langname, $langorigname, $flag) = explode(",", transposh_consts::$languages[$lang]);
124
  return $langname;
48
 
49
  //Supported languages, new languages can be added here
50
  //the array directs from language code to - English Name, Native name, flag
51
+ public static $languages = array(
52
  'en' => 'English,English,us,en_US',
53
  'af' => 'Afrikaans,Afrikaans,za,',
54
  'sq' => 'Albanian,Shqip,al,',
58
  'eu' => 'Basque,Euskara,basque,',
59
  'be' => 'Belarusian,Беларуская,by,',
60
  'bn' => 'Bengali,বাংলা,bd,bn_BD',
61
+ 'bs' => 'Bosnian,bosanski jezik,ba,bs_BA',
62
  'bg' => 'Bulgarian,Български,bg,bg_BG',
63
  'ca' => 'Catalan,Català,catalonia,',
64
+ 'ceb' => 'Cebuano,Binisaya,ph,',
65
  'zh' => 'Chinese (Simplified),中文(简体),cn,zh_CN',
66
  'zh-tw' => 'Chinese (Traditional),中文(漢字),tw,zh_TW',
67
  'hr' => 'Croatian,Hrvatski,hr,',
78
  'el' => 'Greek,Ελληνικά,gr,',
79
  'gu' => 'Gujarati,ગુજરાતી,in,',
80
  'ht' => 'Haitian,Kreyòl ayisyen,ht,',
81
+ 'ha' => 'Hausa,Harshen Hausa,ng,',
82
+ 'hmn' => 'Hmong,Hmoob,la,',
83
  'mw' => 'Hmong Daw,Hmoob Daw,la,',
84
  'he' => 'Hebrew,עברית,il,he_IL',
85
  'hi' => 'Hindi,हिन्दी; हिंदी,in,hi_IN',
86
  'hu' => 'Hungarian,Magyar,hu,hu_HU',
87
  'is' => 'Icelandic,Íslenska,is,',
88
+ 'ig' => 'Igbo,Asụsụ Igbo,ng,',
89
  'id' => 'Indonesian,Bahasa Indonesia,id,id_ID',
90
  'ga' => 'Irish,Gaeilge,ie,',
91
  'it' => 'Italian,Italiano,it,it_IT',
92
  'ja' => 'Japanese,日本語,jp,',
93
+ 'jw' => 'Javanese,basa Jawa,id,jv_ID',
94
  'kn' => 'Kannada,ಕನ್ನಡ,in,',
95
  'km' => 'Khmer,ភាសាខ្មែរ,kh,',
96
  'ko' => 'Korean,한국어,kr,ko_KR',
101
  'mk' => 'Macedonian,македонски јазик,mk,mk_MK',
102
  'ms' => 'Malay,Bahasa Melayu,my,ms_MY',
103
  'mt' => 'Maltese,Malti,mt,',
104
+ 'mi' => 'Maori,Te Reo Māori,nz,',
105
+ 'mr' => 'Marathi,मराठी,in,',
106
+ 'mn' => 'Mongolian,Монгол,mn,',
107
+ 'ne' => 'Nepali,नेपाली,np,ne_NP',
108
  'no' => 'Norwegian,Norsk,no,nb_NO',
109
  'fa' => 'Persian,پارسی,ir,fa_IR',
110
  'pl' => 'Polish,Polski,pl,pl_PL',
111
  'pt' => 'Portuguese,Português,pt,pt_PT',
112
+ 'pa' => 'Punjabi,ਪੰਜਾਬੀ,pk,pa_IN',
113
  'ro' => 'Romanian,Română,ro,ro_RO',
114
  'ru' => 'Russian,Русский,ru,ru_RU',
115
  'sr' => 'Serbian,Cрпски језик,rs,sr_RS',
116
  'sk' => 'Slovak,Slovenčina,sk,sk_SK',
117
  'sl' => 'Slovene,Slovenščina,si,sl_SI', //slovenian
118
+ 'so' => 'Somali,Af-Soomaali,so,',
119
  'es' => 'Spanish,Español,es,es_ES',
120
  'sw' => 'Swahili,Kiswahili,tz,',
121
  'sv' => 'Swedish,Svenska,se,sv_SE',
122
  'tl' => 'Tagalog,Tagalog,ph,', // fhilipino
123
+ 'ta' => 'Tamil,தமிழ்,in,ta_LK', // apparently more in India
124
  'te' => 'Telugu,తెలుగు,in,',
125
  'th' => 'Thai,ภาษาไทย,th,',
126
  'tr' => 'Turkish,Türkçe,tr,tr_TR',
128
  'ur' => 'Urdu,اردو,pk,',
129
  'vi' => 'Vietnamese,Tiếng Việt,vn,',
130
  'cy' => 'Welsh,Cymraeg,wales,',
131
+ 'yi' => 'Yiddish,ייִדיש,europeanunion,',
132
+ 'yo' => 'Yoruba,èdè Yorùbá,ng,',
133
+ 'zu' => 'Zulu,isiZulu,za,'
134
  );
135
+
136
  public static function get_language_name($lang) {
137
  list ($langname, $langorigname, $flag) = explode(",", transposh_consts::$languages[$lang]);
138
  return $langname;
readme.txt CHANGED
@@ -3,10 +3,10 @@ Contributors: oferwald
3
  Donate link: http://transposh.org/donate/
4
  Tags: translation, translate, i18n, widget, filter, buddypress, bilingual, multilingual, transposh, language, crowdsourcing, google translate, bing translate, context, wiki, RTL, Hebrew, Spanish, French, Russian, English, Arabic, Portuguese
5
  Requires at least: 3.3
6
- Tested up to: 3.7.1
7
- Stable tag: 0.9.4
8
 
9
- Transposh adds best of breed translation support to wordpress, 67 languages are automatically translated and can be manually corrected with ease.
10
 
11
  == Description ==
12
  Transposh translation filter for WordPress offers a unique approach to blog translation. It allows your blog to combine automatic translation with human translation aided by your users with an easy to use in-context interface.
@@ -23,7 +23,7 @@ You can watch the video above, made by Fabrice Meuwissen of obviousidea.com whic
23
  * Translation of external plugins without a need for .po/.mo files
24
  * Automatic translation mode for all content (including comments!)
25
  * Professional translation bt [One Hour Translation](http://transposh.org/redir/oht)
26
- * Use either Google Translate,MS Translate or Apertium backends - 67 languages supported!
27
  * Automatic translation can be triggered on demand by the readers or on the server side
28
  * RSS feeds are translated too
29
  * Takes care of hidden elements, link tags, meta contents and titles
@@ -69,6 +69,8 @@ You can find them on our site [here](http://transposh.org/faq)
69
  5. Widget style selection box, with three basic appearances, flags below (in Hebrew), language selection on the top right and language list on the bottom right.
70
 
71
  == Upgrade Notice ==
 
 
72
  = 0.9.4 =
73
  Fix broken update, Fix Google proxy
74
  = 0.9.3 =
@@ -123,6 +125,8 @@ This version allows sorting of languages within the widget
123
  * Portuguese (Brazil) translation by [Amilton Junior](http://www.dicasemgeral.com)
124
 
125
  == Changelog ==
 
 
126
  = 2013/10/31 - 0.9.4 =
127
  * Fix broken Google translate internal Proxy
128
  * Fix update mechanism to support 3.7+
@@ -530,4 +534,4 @@ This version allows sorting of languages within the widget
530
  * Fixed bug with hard coded plugin path (thanks [Atomboy](http://politicalnewsblogs.com/))
531
  * Support for AJAX replacement of content using jQuery
532
  = 2009/02/28 - 0.0.1 =
533
- * Initial release
3
  Donate link: http://transposh.org/donate/
4
  Tags: translation, translate, i18n, widget, filter, buddypress, bilingual, multilingual, transposh, language, crowdsourcing, google translate, bing translate, context, wiki, RTL, Hebrew, Spanish, French, Russian, English, Arabic, Portuguese
5
  Requires at least: 3.3
6
+ Tested up to: 4.0
7
+ Stable tag: 0.9.5
8
 
9
+ Transposh adds best of breed translation support to wordpress, 82 languages are automatically translated and can be manually corrected with ease.
10
 
11
  == Description ==
12
  Transposh translation filter for WordPress offers a unique approach to blog translation. It allows your blog to combine automatic translation with human translation aided by your users with an easy to use in-context interface.
23
  * Translation of external plugins without a need for .po/.mo files
24
  * Automatic translation mode for all content (including comments!)
25
  * Professional translation bt [One Hour Translation](http://transposh.org/redir/oht)
26
+ * Use either Google Translate,MS Translate or Apertium backends - 82 languages supported!
27
  * Automatic translation can be triggered on demand by the readers or on the server side
28
  * RSS feeds are translated too
29
  * Takes care of hidden elements, link tags, meta contents and titles
69
  5. Widget style selection box, with three basic appearances, flags below (in Hebrew), language selection on the top right and language list on the bottom right.
70
 
71
  == Upgrade Notice ==
72
+ = 0.9.5 =
73
+ Fix hiding of upgrades
74
  = 0.9.4 =
75
  Fix broken update, Fix Google proxy
76
  = 0.9.3 =
125
  * Portuguese (Brazil) translation by [Amilton Junior](http://www.dicasemgeral.com)
126
 
127
  == Changelog ==
128
+ = 2014/02/05 - 0.9.5 =
129
+ * Added 9 new google languages
130
  = 2013/10/31 - 0.9.4 =
131
  * Fix broken Google translate internal Proxy
132
  * Fix update mechanism to support 3.7+
534
  * Fixed bug with hard coded plugin path (thanks [Atomboy](http://politicalnewsblogs.com/))
535
  * Support for AJAX replacement of content using jQuery
536
  = 2009/02/28 - 0.0.1 =
537
+ * Initial release
transposh.php CHANGED
@@ -5,7 +5,7 @@
5
  Plugin URI: http://transposh.org/
6
  Description: Translation filter for WordPress, After enabling please set languages at the <a href="admin.php?page=tp_main">the options page</a> Want to help? visit our development site at <a href="http://trac.transposh.org/">trac.transposh.org</a>.
7
  Author: Team Transposh
8
- Version: 0.9.4
9
  Author URI: http://transposh.org/
10
  License: GPL (http://www.gnu.org/licenses/gpl.txt)
11
  Text Domain: transposh
@@ -13,14 +13,14 @@
13
  */
14
 
15
  /*
16
- * Transposh v0.9.3
17
  * http://transposh.org/
18
  *
19
  * Copyright 2013, Team Transposh
20
  * Licensed under the GPL Version 2 or higher.
21
  * http://transposh.org/license
22
  *
23
- * Date: Mon, 06 May 2013 02:15:55 +0300
24
  */
25
 
26
  //avoid direct calls to this file where wp core files not present
5
  Plugin URI: http://transposh.org/
6
  Description: Translation filter for WordPress, After enabling please set languages at the <a href="admin.php?page=tp_main">the options page</a> Want to help? visit our development site at <a href="http://trac.transposh.org/">trac.transposh.org</a>.
7
  Author: Team Transposh
8
+ Version: 0.9.5
9
  Author URI: http://transposh.org/
10
  License: GPL (http://www.gnu.org/licenses/gpl.txt)
11
  Text Domain: transposh
13
  */
14
 
15
  /*
16
+ * Transposh v0.9.5
17
  * http://transposh.org/
18
  *
19
  * Copyright 2013, Team Transposh
20
  * Licensed under the GPL Version 2 or higher.
21
  * http://transposh.org/license
22
  *
23
+ * Date: Wed, 05 Feb 2014 02:15:55 +0300
24
  */
25
 
26
  //avoid direct calls to this file where wp core files not present