gde_supported_langs

List supported languages of the viewer (not the plugin).

Description

gde_supported_langs(); 

Usage

  1. if ( !function_exists( 'gde_supported_langs' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'google-doc-embedder/libs/lib-langs.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = gde_supported_langs(); 
  7.  

Defined (1)

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

/libs/lib-langs.php  
  1. function gde_supported_langs() { 
  2. $langs = array( 
  3. // format: code => description 
  4. 'in' => 'Bahasa Indonesia',  
  5. 'ca' => 'Catal',  
  6. 'cs' => '*e*tina',  
  7. 'da' => 'Dansk',  
  8. 'de' => 'Deutsch',  
  9. 'en_GB' => 'English (UK)',  
  10. 'en_US' => 'English (US)',  
  11. 'es' => 'Espaol',  
  12. 'fil' => 'Filipino',  
  13. 'fr' => 'Franais',  
  14. 'hr' => 'Hrvatski',  
  15. 'it' => 'Italiano',  
  16. 'lv' => 'Latvie*u',  
  17. 'lt' => 'Lietuvi*',  
  18. 'hu' => 'Magyar',  
  19. 'nl' => 'Nederlands',  
  20. 'no' => 'Norsk',  
  21. 'pl' => 'Polski',  
  22. 'pt_BR' => 'Portugus (Brasil)',  
  23. 'pt_PT' => 'Portugus (Portugal)',  
  24. 'ro' => 'Romn*',  
  25. 'sk' => 'Sloven*ina',  
  26. 'sl' => 'Sloven**ina',  
  27. 'fi' => 'Suomi',  
  28. 'sv' => 'Svenska',  
  29. 'vi' => 'Ti*ng Vi*t',  
  30. 'tr' => 'Trke',  
  31. 'el' => '********',  
  32. 'bg' => '*********',  
  33. 'ru' => '*******',  
  34. 'sr' => '******',  
  35. 'uk' => '**********',  
  36. 'iw' => '*****',  
  37. 'ar' => '*******',  
  38. 'mr' => '*****',  
  39. 'hi' => '******',  
  40. 'bn' => '*****',  
  41. 'gu' => '*******',  
  42. 'ta' => '*****',  
  43. 'te' => '******',  
  44. 'kn' => '*****',  
  45. 'ml' => '******',  
  46. 'th' => '***',  
  47. 'zh_CN' => '******',  
  48. 'zh_TW' => '******',  
  49. 'ja' => '***',  
  50. 'ko' => '***' 
  51. ); 
  52. return $langs;