SZGoogleCommon

The SZ - Google SZGoogleCommon class.

Defined (1)

The class is defined in the following location(s).

/classes/common/SZGoogleCommon.php  
  1. class SZGoogleCommon 
  2. /** 
  3. * Calculating the name of Domnio current used  
  4. * by the page displayed. Using the get_site_url() 
  5. */ 
  6.  
  7. static function getCurrentDomain() 
  8. $pieces = parse_url(get_site_url()); 
  9. $domain = isset($pieces['host']) ? $pieces['host'] : ''; 
  10.  
  11. if (preg_match('/(?P<domain>[a-z0-9][a-z0-9\-]{1, 63}\.[a-z\.]{2, 6})$/i', $domain, $regs)) { 
  12. return $regs['domain']; 
  13.  
  14. return false; 
  15.  
  16. /** 
  17. * Execution flush for actual rewrite rules. This function should 
  18. * not be called always but only when functions are activated 
  19. */ 
  20.  
  21. static function rewriteFlushRules()  
  22. global $wp_rewrite; 
  23. $wp_rewrite->flush_rules(); 
  24.  
  25. /** 
  26. * Translation of the strings that relate to the frontend, in fact domains 
  27. * between admin and frontend are different (szgoogle and szgoogleadmin) 
  28. */ 
  29.  
  30. static function getTranslate($string) { 
  31. return __($string, 'szgooglefront'); 
  32.  
  33. /** 
  34. * List of languages **present in google to be used 
  35. * in many forms in the plugin as a list standard 
  36. */ 
  37.  
  38. static function getLanguages() 
  39. // Preparation array with the code language supported by google,  
  40. // this array can be used for different modules 
  41.  
  42. $languages = array( 
  43. '99' => ' '.self::getTranslate('same language theme'),  
  44. 'af' => ucfirst(self::getTranslate('afrikaans')),  
  45. 'am' => ucfirst(self::getTranslate('amharic')),  
  46. 'ar' => ucfirst(self::getTranslate('arabic')),  
  47. 'eu' => ucfirst(self::getTranslate('basque')),  
  48. 'bn' => ucfirst(self::getTranslate('bengali')),  
  49. 'bg' => ucfirst(self::getTranslate('bulgarian')),  
  50. 'ca' => ucfirst(self::getTranslate('catalan')),  
  51. 'zh-HK' => ucfirst(self::getTranslate('chinese (Hong Kong)')),  
  52. 'zh-CN' => ucfirst(self::getTranslate('chinese (Simplified)')),  
  53. 'zh-TW' => ucfirst(self::getTranslate('chinese (Traditional)')),  
  54. 'hr' => ucfirst(self::getTranslate('croatian')),  
  55. 'cs' => ucfirst(self::getTranslate('czech')),  
  56. 'da' => ucfirst(self::getTranslate('danish')),  
  57. 'nl' => ucfirst(self::getTranslate('dutch')),  
  58. 'en-GB' => ucfirst(self::getTranslate('english (UK)')),  
  59. 'en-US' => ucfirst(self::getTranslate('english (US)')),  
  60. 'et' => ucfirst(self::getTranslate('estonian')),  
  61. 'fil' => ucfirst(self::getTranslate('filipino')),  
  62. 'fi' => ucfirst(self::getTranslate('finnish')),  
  63. 'fr' => ucfirst(self::getTranslate('french')),  
  64. 'fr-CA' => ucfirst(self::getTranslate('french (Canadian)')),  
  65. 'gl' => ucfirst(self::getTranslate('galician')),  
  66. 'de' => ucfirst(self::getTranslate('german')),  
  67. 'el' => ucfirst(self::getTranslate('greek')),  
  68. 'gu' => ucfirst(self::getTranslate('gujarati')),  
  69. 'iw' => ucfirst(self::getTranslate('hebrew')),  
  70. 'hi' => ucfirst(self::getTranslate('hindi')),  
  71. 'hu' => ucfirst(self::getTranslate('hungarian')),  
  72. 'is' => ucfirst(self::getTranslate('icelandic')),  
  73. 'id' => ucfirst(self::getTranslate('indonesian')),  
  74. 'it' => ucfirst(self::getTranslate('italian')),  
  75. 'ja' => ucfirst(self::getTranslate('japanese')),  
  76. 'kn' => ucfirst(self::getTranslate('kannada')),  
  77. 'ko' => ucfirst(self::getTranslate('korean')),  
  78. 'lv' => ucfirst(self::getTranslate('latvian')),  
  79. 'lt' => ucfirst(self::getTranslate('lithuanian')),  
  80. 'ms' => ucfirst(self::getTranslate('malay')),  
  81. 'ml' => ucfirst(self::getTranslate('malayalam')),  
  82. 'mr' => ucfirst(self::getTranslate('marathi')),  
  83. 'no' => ucfirst(self::getTranslate('norwegian')),  
  84. 'fa' => ucfirst(self::getTranslate('persian')),  
  85. 'pl' => ucfirst(self::getTranslate('polish')),  
  86. 'pt-BR' => ucfirst(self::getTranslate('portuguese (Brazil)')),  
  87. 'pt-PT' => ucfirst(self::getTranslate('portuguese (Portugal)')),  
  88. 'ro' => ucfirst(self::getTranslate('romanian')),  
  89. 'ru' => ucfirst(self::getTranslate('russian')),  
  90. 'sr' => ucfirst(self::getTranslate('serbian')),  
  91. 'sk' => ucfirst(self::getTranslate('slovak')),  
  92. 'sl' => ucfirst(self::getTranslate('slovenian')),  
  93. 'es' => ucfirst(self::getTranslate('spanish')),  
  94. 'es-419' => ucfirst(self::getTranslate('spanish (Latin America)')),  
  95. 'sw' => ucfirst(self::getTranslate('swahili')),  
  96. 'sv' => ucfirst(self::getTranslate('swedish')),  
  97. 'ta' => ucfirst(self::getTranslate('tamil')),  
  98. 'te' => ucfirst(self::getTranslate('telugu')),  
  99. 'th' => ucfirst(self::getTranslate('thai')),  
  100. 'tr' => ucfirst(self::getTranslate('turkish')),  
  101. 'uk' => ucfirst(self::getTranslate('ukrainian')),  
  102. 'ur' => ucfirst(self::getTranslate('urdu')),  
  103. 'vi' => ucfirst(self::getTranslate('vietnamese')),  
  104. 'zu' => ucfirst(self::getTranslate('zulu')),  
  105. ); 
  106.  
  107. // I execute sorting array according to the nation and 
  108. // to the string translation performed after rendering 
  109.  
  110. asort($languages); 
  111. return $languages; 
  112.  
  113. /** 
  114. * List of time zones to be used in the components of google 
  115. * This list was taken from creation function calendar 
  116. */ 
  117.  
  118. static function getTimeZone() 
  119. // Preparation array with the code language supported by google,  
  120. // this array can be used for different modules 
  121.  
  122. $timezone = array( 
  123. 'none' => self::getTranslate('default time zone'),  
  124. 'Pacific/Midway' => self::getTranslate('(GMT-11:00) Midway'),  
  125. 'Pacific/Niue' => self::getTranslate('(GMT-11:00) Niue'),  
  126. 'Pacific/Pago_Pago' => self::getTranslate('(GMT-11:00) Pago Pago'),  
  127. 'Pacific/Honolulu' => self::getTranslate('(GMT-10:00) Hawaii Time'),  
  128. 'Pacific/Rarotonga' => self::getTranslate('(GMT-10:00) Rarotonga'),  
  129. 'Pacific/Tahiti' => self::getTranslate('(GMT-10:00) Tahiti'),  
  130. 'Pacific/Marquesas' => self::getTranslate('(GMT-09:30) Marquesas'),  
  131. 'America/Anchorage' => self::getTranslate('(GMT-09:00) Alaska Time'),  
  132. 'Pacific/Gambier' => self::getTranslate('(GMT-09:00) Gambier'),  
  133. 'America/Los_Angeles' => self::getTranslate('(GMT-08:00) Pacific Time'),  
  134. 'America/Tijuana' => self::getTranslate('(GMT-08:00) Pacific Time - Tijuana'),  
  135. 'America/Vancouver' => self::getTranslate('(GMT-08:00) Pacific Time - Vancouver'),  
  136. 'America/Whitehorse' => self::getTranslate('(GMT-08:00) Pacific Time - Whitehorse'),  
  137. 'Pacific/Pitcairn' => self::getTranslate('(GMT-08:00) Pitcairn'),  
  138. 'America/Dawson_Creek' => self::getTranslate('(GMT-07:00) Mountain Time - Dawson Creek'),  
  139. 'America/Denver' => self::getTranslate('(GMT-07:00) Mountain Time'),  
  140. 'America/Edmonton' => self::getTranslate('(GMT-07:00) Mountain Time - Edmonton'),  
  141. 'America/Hermosillo' => self::getTranslate('(GMT-07:00) Mountain Time - Hermosillo'),  
  142. 'America/Mazatlan' => self::getTranslate('(GMT-07:00) Mountain Time - Chihuahua, Mazatlan'),  
  143. 'America/Phoenix' => self::getTranslate('(GMT-07:00) Mountain Time - Arizona'),  
  144. 'America/Yellowknife' => self::getTranslate('(GMT-07:00) Mountain Time - Yellowknife'),  
  145. 'America/Belize' => self::getTranslate('(GMT-06:00) Belize'),  
  146. 'America/Chicago' => self::getTranslate('(GMT-06:00) Central Time'),  
  147. 'America/Costa_Rica' => self::getTranslate('(GMT-06:00) Costa Rica'),  
  148. 'America/El_Salvador' => self::getTranslate('(GMT-06:00) El Salvador'),  
  149. 'America/Guatemala' => self::getTranslate('(GMT-06:00) Guatemala'),  
  150. 'America/Managua' => self::getTranslate('(GMT-06:00) Managua'),  
  151. 'America/Mexico_City' => self::getTranslate('(GMT-06:00) Central Time - Mexico City'),  
  152. 'America/Regina' => self::getTranslate('(GMT-06:00) Central Time - Regina'),  
  153. 'America/Tegucigalpa' => self::getTranslate('(GMT-06:00) Central Time - Tegucigalpa'),  
  154. 'America/Winnipeg' => self::getTranslate('(GMT-06:00) Central Time - Winnipeg'),  
  155. 'Pacific/Easter' => self::getTranslate('(GMT-06:00) Easter Island'),  
  156. 'Pacific/Galapagos' => self::getTranslate('(GMT-06:00) Galapagos'),  
  157. 'America/Bogota' => self::getTranslate('(GMT-05:00) Bogota'),  
  158. 'America/Cayman' => self::getTranslate('(GMT-05:00) Cayman'),  
  159. 'America/Grand_Turk' => self::getTranslate('(GMT-05:00) Grand Turk'),  
  160. 'America/Guayaquil' => self::getTranslate('(GMT-05:00) Guayaquil'),  
  161. 'America/Havana' => self::getTranslate('(GMT-05:00) Havana'),  
  162. 'America/Iqaluit' => self::getTranslate('(GMT-05:00) Eastern Time - Iqaluit'),  
  163. 'America/Jamaica' => self::getTranslate('(GMT-05:00) Jamaica'),  
  164. 'America/Lima' => self::getTranslate('(GMT-05:00) Lima'),  
  165. 'America/Montreal' => self::getTranslate('(GMT-05:00) Eastern Time - Montreal'),  
  166. 'America/Nassau' => self::getTranslate('(GMT-05:00) Nassau'),  
  167. 'America/New_York' => self::getTranslate('(GMT-05:00) Eastern Time'),  
  168. 'America/Panama' => self::getTranslate('(GMT-05:00) Panama'),  
  169. 'America/Port-au-Prince' => self::getTranslate('(GMT-05:00) Port-au-Prince'),  
  170. 'America/Rio_Branco' => self::getTranslate('(GMT-05:00) Rio Branco'),  
  171. 'America/Toronto' => self::getTranslate('(GMT-05:00) Eastern Time - Toronto'),  
  172. 'America/Caracas' => self::getTranslate('(GMT-04:30) Caracas'),  
  173. 'America/Antigua' => self::getTranslate('(GMT-04:00) Antigua'),  
  174. 'America/Asuncion' => self::getTranslate('(GMT-04:00) Asuncion'),  
  175. 'America/Barbados' => self::getTranslate('(GMT-04:00) Barbados'),  
  176. 'America/Boa_Vista' => self::getTranslate('(GMT-04:00) Boa Vista'),  
  177. 'America/Campo_Grande' => self::getTranslate('(GMT-04:00) Campo Grande'),  
  178. 'America/Cuiaba' => self::getTranslate('(GMT-04:00) Cuiaba'),  
  179. 'America/Curacao' => self::getTranslate('(GMT-04:00) Curacao'),  
  180. 'America/Guyana' => self::getTranslate('(GMT-04:00) Guyana'),  
  181. 'America/Halifax' => self::getTranslate('(GMT-04:00) Atlantic Time - Halifax'),  
  182. 'America/La_Paz' => self::getTranslate('(GMT-04:00) La Paz'),  
  183. 'America/Manaus' => self::getTranslate('(GMT-04:00) Manaus'),  
  184. 'America/Martinique' => self::getTranslate('(GMT-04:00) Martinique'),  
  185. 'America/Port_of_Spain' => self::getTranslate('(GMT-04:00) Port of Spain'),  
  186. 'America/Porto_Velho' => self::getTranslate('(GMT-04:00) Porto Velho'),  
  187. 'America/Puerto_Rico' => self::getTranslate('(GMT-04:00) Puerto Rico'),  
  188. 'America/Santiago' => self::getTranslate('(GMT-04:00) Santiago'),  
  189. 'America/Santo_Domingo' => self::getTranslate('(GMT-04:00) Santo Domingo'),  
  190. 'America/Thule' => self::getTranslate('(GMT-04:00) Thule'),  
  191. 'Antarctica/Palmer' => self::getTranslate('(GMT-04:00) Palmer'),  
  192. 'Atlantic/Bermuda' => self::getTranslate('(GMT-04:00) Bermuda'),  
  193. 'America/St_Johns' => self::getTranslate('(GMT-03:30) Newfoundland Time - St. Johns'),  
  194. 'America/Araguaina' => self::getTranslate('(GMT-03:00) Araguaina'),  
  195. 'America/Argentina/Buenos_Aires' => self::getTranslate('(GMT-03:00) Buenos Aires'),  
  196. 'America/Bahia' => self::getTranslate('(GMT-03:00) Salvador'),  
  197. 'America/Belem' => self::getTranslate('(GMT-03:00) Belem'),  
  198. 'America/Cayenne' => self::getTranslate('(GMT-03:00) Cayenne'),  
  199. 'America/Fortaleza' => self::getTranslate('(GMT-03:00) Fortaleza'),  
  200. 'America/Godthab' => self::getTranslate('(GMT-03:00) Godthab'),  
  201. 'America/Maceio' => self::getTranslate('(GMT-03:00) Maceio'),  
  202. 'America/Miquelon' => self::getTranslate('(GMT-03:00) Miquelon'),  
  203. 'America/Montevideo' => self::getTranslate('(GMT-03:00) Montevideo'),  
  204. 'America/Paramaribo' => self::getTranslate('(GMT-03:00) Paramaribo'),  
  205. 'America/Recife' => self::getTranslate('(GMT-03:00) Recife'),  
  206. 'America/Sao_Paulo' => self::getTranslate('(GMT-03:00) Sao Paulo'),  
  207. 'Antarctica/Rothera' => self::getTranslate('(GMT-03:00) Rothera'),  
  208. 'Atlantic/Stanley' => self::getTranslate('(GMT-03:00) Stanley'),  
  209. 'America/Noronha' => self::getTranslate('(GMT-02:00) Noronha'),  
  210. 'Atlantic/South_Georgia' => self::getTranslate('(GMT-02:00) South Georgia'),  
  211. 'America/Scoresbysund' => self::getTranslate('(GMT-01:00) Scoresbysund'),  
  212. 'Atlantic/Azores' => self::getTranslate('(GMT-01:00) Azores'),  
  213. 'Atlantic/Cape_Verde' => self::getTranslate('(GMT-01:00) Cape Verde'),  
  214. 'Africa/Abidjan' => self::getTranslate('(GMT+00:00) Abidjan'),  
  215. 'Africa/Accra' => self::getTranslate('(GMT+00:00) Accra'),  
  216. 'Africa/Bamako' => self::getTranslate('(GMT+00:00) Bamako'),  
  217. 'Africa/Banjul' => self::getTranslate('(GMT+00:00) Banjul'),  
  218. 'Africa/Bissau' => self::getTranslate('(GMT+00:00) Bissau'),  
  219. 'Africa/Casablanca' => self::getTranslate('(GMT+00:00) Casablanca'),  
  220. 'Africa/Conakry' => self::getTranslate('(GMT+00:00) Conakry'),  
  221. 'Africa/Dakar' => self::getTranslate('(GMT+00:00) Dakar'),  
  222. 'Africa/El_Aaiun' => self::getTranslate('(GMT+00:00) El Aaiun'),  
  223. 'Africa/Freetown' => self::getTranslate('(GMT+00:00) Freetown'),  
  224. 'Africa/Lome' => self::getTranslate('(GMT+00:00) Lome'),  
  225. 'Africa/Monrovia' => self::getTranslate('(GMT+00:00) Monrovia'),  
  226. 'Africa/Nouakchott' => self::getTranslate('(GMT+00:00) Nouakchott'),  
  227. 'Africa/Ouagadougou' => self::getTranslate('(GMT+00:00) Ouagadougou'),  
  228. 'Africa/Sao_Tome' => self::getTranslate('(GMT+00:00) Sao Tome'),  
  229. 'America/Danmarkshavn' => self::getTranslate('(GMT+00:00) Danmarkshavn'),  
  230. 'Atlantic/Canary' => self::getTranslate('(GMT+00:00) Canary Islands'),  
  231. 'Atlantic/Faroe' => self::getTranslate('(GMT+00:00) Faeroe'),  
  232. 'Atlantic/Reykjavik' => self::getTranslate('(GMT+00:00) Reykjavik'),  
  233. 'Atlantic/St_Helena' => self::getTranslate('(GMT+00:00) St Helena'),  
  234. 'Etc/GMT' => self::getTranslate('(GMT+00:00) GMT (no daylight saving)'),  
  235. 'Europe/Dublin' => self::getTranslate('(GMT+00:00) Dublin'),  
  236. 'Europe/Lisbon' => self::getTranslate('(GMT+00:00) Lisbon'),  
  237. 'Europe/London' => self::getTranslate('(GMT+00:00) London'),  
  238. 'Africa/Algiers' => self::getTranslate('(GMT+01:00) Algiers'),  
  239. 'Africa/Bangui' => self::getTranslate('(GMT+01:00) Bangui'),  
  240. 'Africa/Brazzaville' => self::getTranslate('(GMT+01:00) Brazzaville'),  
  241. 'Africa/Ceuta' => self::getTranslate('(GMT+01:00) Ceuta'),  
  242. 'Africa/Douala' => self::getTranslate('(GMT+01:00) Douala'),  
  243. 'Africa/Kinshasa' => self::getTranslate('(GMT+01:00) Kinshasa'),  
  244. 'Africa/Lagos' => self::getTranslate('(GMT+01:00) Lagos'),  
  245. 'Africa/Libreville' => self::getTranslate('(GMT+01:00) Libreville'),  
  246. 'Africa/Luanda' => self::getTranslate('(GMT+01:00) Luanda'),  
  247. 'Africa/Malabo' => self::getTranslate('(GMT+01:00) Malabo'),  
  248. 'Africa/Ndjamena' => self::getTranslate('(GMT+01:00) Ndjamena'),  
  249. 'Africa/Niamey' => self::getTranslate('(GMT+01:00) Niamey'),  
  250. 'Africa/Porto-Novo' => self::getTranslate('(GMT+01:00) Porto-Novo'),  
  251. 'Africa/Tunis' => self::getTranslate('(GMT+01:00) Tunis'),  
  252. 'Africa/Windhoek' => self::getTranslate('(GMT+01:00) Windhoek'),  
  253. 'Europe/Amsterdam' => self::getTranslate('(GMT+01:00) Amsterdam'),  
  254. 'Europe/Andorra' => self::getTranslate('(GMT+01:00) Andorra'),  
  255. 'Europe/Belgrade' => self::getTranslate('(GMT+01:00) Central European Time - Belgrade'),  
  256. 'Europe/Berlin' => self::getTranslate('(GMT+01:00) Berlin'),  
  257. 'Europe/Brussels' => self::getTranslate('(GMT+01:00) Brussels'),  
  258. 'Europe/Budapest' => self::getTranslate('(GMT+01:00) Budapest'),  
  259. 'Europe/Copenhagen' => self::getTranslate('(GMT+01:00) Copenhagen'),  
  260. 'Europe/Gibraltar' => self::getTranslate('(GMT+01:00) Gibraltar'),  
  261. 'Europe/Luxembourg' => self::getTranslate('(GMT+01:00) Luxembourg'),  
  262. 'Europe/Madrid' => self::getTranslate('(GMT+01:00) Madrid'),  
  263. 'Europe/Malta' => self::getTranslate('(GMT+01:00) Malta'),  
  264. 'Europe/Monaco' => self::getTranslate('(GMT+01:00) Monaco'),  
  265. 'Europe/Oslo' => self::getTranslate('(GMT+01:00) Oslo'),  
  266. 'Europe/Paris' => self::getTranslate('(GMT+01:00) Paris'),  
  267. 'Europe/Prague' => self::getTranslate('(GMT+01:00) Central European Time - Prague'),  
  268. 'Europe/Rome' => self::getTranslate('(GMT+01:00) Rome'),  
  269. 'Europe/Stockholm' => self::getTranslate('(GMT+01:00) Stockholm'),  
  270. 'Europe/Tirane' => self::getTranslate('(GMT+01:00) Tirane'),  
  271. 'Europe/Vienna' => self::getTranslate('(GMT+01:00) Vienna'),  
  272. 'Europe/Warsaw' => self::getTranslate('(GMT+01:00) Warsaw'),  
  273. 'Europe/Zurich' => self::getTranslate('(GMT+01:00) Zurich'),  
  274. 'Africa/Blantyre' => self::getTranslate('(GMT+02:00) Blantyre'),  
  275. 'Africa/Bujumbura' => self::getTranslate('(GMT+02:00) Bujumbura'),  
  276. 'Africa/Cairo' => self::getTranslate('(GMT+02:00) Cairo'),  
  277. 'Africa/Gaborone' => self::getTranslate('(GMT+02:00) Gaborone'),  
  278. 'Africa/Harare' => self::getTranslate('(GMT+02:00) Harare'),  
  279. 'Africa/Johannesburg' => self::getTranslate('(GMT+02:00) Johannesburg'),  
  280. 'Africa/Kigali' => self::getTranslate('(GMT+02:00) Kigali'),  
  281. 'Africa/Lubumbashi' => self::getTranslate('(GMT+02:00) Lubumbashi'),  
  282. 'Africa/Lusaka' => self::getTranslate('(GMT+02:00) Lusaka'),  
  283. 'Africa/Maputo' => self::getTranslate('(GMT+02:00) Maputo'),  
  284. 'Africa/Maseru' => self::getTranslate('(GMT+02:00) Maseru'),  
  285. 'Africa/Mbabane' => self::getTranslate('(GMT+02:00) Mbabane'),  
  286. 'Africa/Tripoli' => self::getTranslate('(GMT+02:00) Tripoli'),  
  287. 'Asia/Amman' => self::getTranslate('(GMT+02:00) Amman'),  
  288. 'Asia/Beirut' => self::getTranslate('(GMT+02:00) Beirut'),  
  289. 'Asia/Damascus' => self::getTranslate('(GMT+02:00) Damascus'),  
  290. 'Asia/Gaza' => self::getTranslate('(GMT+02:00) Gaza'),  
  291. 'Asia/Jerusalem' => self::getTranslate('(GMT+02:00) Jerusalem'),  
  292. 'Asia/Nicosia' => self::getTranslate('(GMT+02:00) Nicosia'),  
  293. 'Europe/Athens' => self::getTranslate('(GMT+02:00) Athens'),  
  294. 'Europe/Bucharest' => self::getTranslate('(GMT+02:00) Bucharest'),  
  295. 'Europe/Chisinau' => self::getTranslate('(GMT+02:00) Chisinau'),  
  296. 'Europe/Helsinki' => self::getTranslate('(GMT+02:00) Helsinki'),  
  297. 'Europe/Istanbul' => self::getTranslate('(GMT+02:00) Istanbul'),  
  298. 'Europe/Kiev' => self::getTranslate('(GMT+02:00) Kiev'),  
  299. 'Europe/Riga' => self::getTranslate('(GMT+02:00) Riga'),  
  300. 'Europe/Sofia' => self::getTranslate('(GMT+02:00) Sofia'),  
  301. 'Europe/Tallinn' => self::getTranslate('(GMT+02:00) Tallinn'),  
  302. 'Europe/Vilnius' => self::getTranslate('(GMT+02:00) Vilnius'),  
  303. 'Africa/Addis_Ababa' => self::getTranslate('(GMT+03:00) Addis Ababa'),  
  304. 'Africa/Asmara' => self::getTranslate('(GMT+03:00) Asmera'),  
  305. 'Africa/Dar_es_Salaam' => self::getTranslate('(GMT+03:00) Dar es Salaam'),  
  306. 'Africa/Djibouti' => self::getTranslate('(GMT+03:00) Djibouti'),  
  307. 'Africa/Kampala' => self::getTranslate('(GMT+03:00) Kampala'),  
  308. 'Africa/Khartoum' => self::getTranslate('(GMT+03:00) Khartoum'),  
  309. 'Africa/Mogadishu' => self::getTranslate('(GMT+03:00) Mogadishu'),  
  310. 'Africa/Nairobi' => self::getTranslate('(GMT+03:00) Nairobi'),  
  311. 'Antarctica/Syowa' => self::getTranslate('(GMT+03:00) Syowa'),  
  312. 'Asia/Aden' => self::getTranslate('(GMT+03:00) Aden'),  
  313. 'Asia/Baghdad' => self::getTranslate('(GMT+03:00) Baghdad'),  
  314. 'Asia/Bahrain' => self::getTranslate('(GMT+03:00) Bahrain'),  
  315. 'Asia/Kuwait' => self::getTranslate('(GMT+03:00) Kuwait'),  
  316. 'Asia/Qatar' => self::getTranslate('(GMT+03:00) Qatar'),  
  317. 'Asia/Riyadh' => self::getTranslate('(GMT+03:00) Riyadh'),  
  318. 'Europe/Kaliningrad' => self::getTranslate('(GMT+03:00) Moscow-01 - Kaliningrad'),  
  319. 'Europe/Minsk' => self::getTranslate('(GMT+03:00) Minsk'),  
  320. 'Indian/Antananarivo' => self::getTranslate('(GMT+03:00) Antananarivo'),  
  321. 'Indian/Comoro' => self::getTranslate('(GMT+03:00) Comoro'),  
  322. 'Indian/Mayotte' => self::getTranslate('(GMT+03:00) Mayotte'),  
  323. 'Asia/Tehran' => self::getTranslate('(GMT+03:30) Tehran'),  
  324. 'Asia/Baku' => self::getTranslate('(GMT+04:00) Baku'),  
  325. 'Asia/Dubai' => self::getTranslate('(GMT+04:00) Dubai'),  
  326. 'Asia/Muscat' => self::getTranslate('(GMT+04:00) Muscat'),  
  327. 'Asia/Tbilisi' => self::getTranslate('(GMT+04:00) Tbilisi'),  
  328. 'Asia/Yerevan' => self::getTranslate('(GMT+04:00) Yerevan'),  
  329. 'Europe/Moscow' => self::getTranslate('(GMT+04:00) Moscow+00'),  
  330. 'Europe/Samara' => self::getTranslate('(GMT+04:00) Moscow+00 - Samara'),  
  331. 'Indian/Mahe' => self::getTranslate('(GMT+04:00) Mahe'),  
  332. 'Indian/Mauritius' => self::getTranslate('(GMT+04:00) Mauritius'),  
  333. 'Indian/Reunion' => self::getTranslate('(GMT+04:00) Reunion'),  
  334. 'Asia/Kabul' => self::getTranslate('(GMT+04:30) Kabul'),  
  335. 'Antarctica/Mawson' => self::getTranslate('(GMT+05:00) Mawson'),  
  336. 'Asia/Aqtau' => self::getTranslate('(GMT+05:00) Aqtau'),  
  337. 'Asia/Aqtobe' => self::getTranslate('(GMT+05:00) Aqtobe'),  
  338. 'Asia/Ashgabat' => self::getTranslate('(GMT+05:00) Ashgabat'),  
  339. 'Asia/Dushanbe' => self::getTranslate('(GMT+05:00) Dushanbe'),  
  340. 'Asia/Karachi' => self::getTranslate('(GMT+05:00) Karachi'),  
  341. 'Asia/Tashkent' => self::getTranslate('(GMT+05:00) Tashkent'),  
  342. 'Indian/Kerguelen' => self::getTranslate('(GMT+05:00) Kerguelen'),  
  343. 'Indian/Maldives' => self::getTranslate('(GMT+05:00) Maldives'),  
  344. 'Asia/Calcutta' => self::getTranslate('(GMT+05:30) India Standard Time'),  
  345. 'Asia/Colombo' => self::getTranslate('(GMT+05:30) Colombo'),  
  346. 'Asia/Katmandu' => self::getTranslate('(GMT+05:45) Katmandu'),  
  347. 'Antarctica/Vostok' => self::getTranslate('(GMT+06:00) Vostok'),  
  348. 'Asia/Almaty' => self::getTranslate('(GMT+06:00) Almaty'),  
  349. 'Asia/Bishkek' => self::getTranslate('(GMT+06:00) Bishkek'),  
  350. 'Asia/Dhaka' => self::getTranslate('(GMT+06:00) Dhaka'),  
  351. 'Asia/Thimphu' => self::getTranslate('(GMT+06:00) Thimphu'),  
  352. 'Asia/Yekaterinburg' => self::getTranslate('(GMT+06:00) Moscow+02 - Yekaterinburg'),  
  353. 'Indian/Chagos' => self::getTranslate('(GMT+06:00) Chagos'),  
  354. 'Asia/Rangoon' => self::getTranslate('(GMT+06:30) Rangoon'),  
  355. 'Indian/Cocos' => self::getTranslate('(GMT+06:30) Cocos'),  
  356. 'Antarctica/Davis' => self::getTranslate('(GMT+07:00) Davis'),  
  357. 'Asia/Bangkok' => self::getTranslate('(GMT+07:00) Bangkok'),  
  358. 'Asia/Hovd' => self::getTranslate('(GMT+07:00) Hovd'),  
  359. 'Asia/Jakarta' => self::getTranslate('(GMT+07:00) Jakarta'),  
  360. 'Asia/Omsk' => self::getTranslate('(GMT+07:00) Moscow+03 - Omsk, Novosibirsk'),  
  361. 'Asia/Phnom_Penh' => self::getTranslate('(GMT+07:00) Phnom Penh'),  
  362. 'Asia/Saigon' => self::getTranslate('(GMT+07:00) Hanoi'),  
  363. 'Asia/Vientiane' => self::getTranslate('(GMT+07:00) Vientiane'),  
  364. 'Indian/Christmas' => self::getTranslate('(GMT+07:00) Christmas'),  
  365. 'Antarctica/Casey' => self::getTranslate('(GMT+08:00) Casey'),  
  366. 'Asia/Brunei' => self::getTranslate('(GMT+08:00) Brunei'),  
  367. 'Asia/Choibalsan' => self::getTranslate('(GMT+08:00) Choibalsan'),  
  368. 'Asia/Hong_Kong' => self::getTranslate('(GMT+08:00) Hong Kong'),  
  369. 'Asia/Krasnoyarsk' => self::getTranslate('(GMT+08:00) Moscow+04 - Krasnoyarsk'),  
  370. 'Asia/Kuala_Lumpur' => self::getTranslate('(GMT+08:00) Kuala Lumpur'),  
  371. 'Asia/Macau' => self::getTranslate('(GMT+08:00) Macau'),  
  372. 'Asia/Makassar' => self::getTranslate('(GMT+08:00) Makassar'),  
  373. 'Asia/Manila' => self::getTranslate('(GMT+08:00) Manila'),  
  374. 'Asia/Shanghai' => self::getTranslate('(GMT+08:00) China Time - Beijing'),  
  375. 'Asia/Singapore' => self::getTranslate('(GMT+08:00) Singapore'),  
  376. 'Asia/Taipei' => self::getTranslate('(GMT+08:00) Taipei'),  
  377. 'Asia/Ulaanbaatar' => self::getTranslate('(GMT+08:00) Ulaanbaatar'),  
  378. 'Australia/Perth' => self::getTranslate('(GMT+08:00) Western Time - Perth'),  
  379. 'Asia/Dili' => self::getTranslate('(GMT+09:00) Dili'),  
  380. 'Asia/Irkutsk' => self::getTranslate('(GMT+09:00) Moscow+05 - Irkutsk'),  
  381. 'Asia/Jayapura' => self::getTranslate('(GMT+09:00) Jayapura'),  
  382. 'Asia/Pyongyang' => self::getTranslate('(GMT+09:00) Pyongyang'),  
  383. 'Asia/Seoul' => self::getTranslate('(GMT+09:00) Seoul'),  
  384. 'Asia/Tokyo' => self::getTranslate('(GMT+09:00) Tokyo'),  
  385. 'Pacific/Palau' => self::getTranslate('(GMT+09:00) Palau'),  
  386. 'Australia/Adelaide' => self::getTranslate('(GMT+09:30) Central Time - Adelaide'),  
  387. 'Australia/Darwin' => self::getTranslate('(GMT+09:30) Central Time - Darwin'),  
  388. 'Antarctica/DumontDUrville' => self::getTranslate('(GMT+10:00) Dumont D'Urville'),  
  389. 'Asia/Yakutsk' => self::getTranslate('(GMT+10:00) Moscow+06 - Yakutsk'),  
  390. 'Australia/Brisbane' => self::getTranslate('(GMT+10:00) Eastern Time - Brisbane'),  
  391. 'Australia/Hobart' => self::getTranslate('(GMT+10:00) Eastern Time - Hobart'),  
  392. 'Australia/Sydney' => self::getTranslate('(GMT+10:00) Eastern Time - Melbourne, Sydney'),  
  393. 'Pacific/Chuuk' => self::getTranslate('(GMT+10:00) Truk'),  
  394. 'Pacific/Guam' => self::getTranslate('(GMT+10:00) Guam'),  
  395. 'Pacific/Port_Moresby' => self::getTranslate('(GMT+10:00) Port Moresby'),  
  396. 'Pacific/Saipan' => self::getTranslate('(GMT+10:00) Saipan'),  
  397. 'Asia/Vladivostok' => self::getTranslate('(GMT+11:00) Moscow+07 - Yuzhno-Sakhalinsk'),  
  398. 'Pacific/Efate' => self::getTranslate('(GMT+11:00) Efate'),  
  399. 'Pacific/Guadalcanal' => self::getTranslate('(GMT+11:00) Guadalcanal'),  
  400. 'Pacific/Kosrae' => self::getTranslate('(GMT+11:00) Kosrae'),  
  401. 'Pacific/Noumea' => self::getTranslate('(GMT+11:00) Noumea'),  
  402. 'Pacific/Pohnpei' => self::getTranslate('(GMT+11:00) Ponape'),  
  403. 'Pacific/Norfolk' => self::getTranslate('(GMT+11:30) Norfolk'),  
  404. 'Asia/Kamchatka' => self::getTranslate('(GMT+12:00) Moscow+08 - Petropavlovsk-Kamchatskiy'),  
  405. 'Asia/Magadan' => self::getTranslate('(GMT+12:00) Moscow+08 - Magadan'),  
  406. 'Pacific/Auckland' => self::getTranslate('(GMT+12:00) Auckland'),  
  407. 'Pacific/Fiji' => self::getTranslate('(GMT+12:00) Fiji'),  
  408. 'Pacific/Funafuti' => self::getTranslate('(GMT+12:00) Funafuti'),  
  409. 'Pacific/Kwajalein' => self::getTranslate('(GMT+12:00) Kwajalein'),  
  410. 'Pacific/Majuro' => self::getTranslate('(GMT+12:00) Majuro'),  
  411. 'Pacific/Nauru' => self::getTranslate('(GMT+12:00) Nauru'),  
  412. 'Pacific/Tarawa' => self::getTranslate('(GMT+12:00) Tarawa'),  
  413. 'Pacific/Wake' => self::getTranslate('(GMT+12:00) Wake'),  
  414. 'Pacific/Wallis' => self::getTranslate('(GMT+12:00) Wallis'),  
  415. 'Pacific/Apia' => self::getTranslate('(GMT+13:00) Apia'),  
  416. 'Pacific/Enderbury' => self::getTranslate('(GMT+13:00) Enderbury'),  
  417. 'Pacific/Fakaofo' => self::getTranslate('(GMT+13:00) Fakaofo'),  
  418. 'Pacific/Tongatapu' => self::getTranslate('(GMT+13:00) Tongatapu'),  
  419. 'Pacific/Kiritimati' => self::getTranslate('(GMT+14:00) Kiritimati'),  
  420. ); 
  421.  
  422. return $timezone;