gmb_get_map_languages

Map Languages.

Description

(array) gmb_get_map_languages(); 

Returns (array)


Usage

  1. if ( !function_exists( 'gmb_get_map_languages' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'maps-builder/vendor/wordimpress/maps-builder-core/includes/misc-functions.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = gmb_get_map_languages(); 
  7.  

Defined (1)

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

/vendor/wordimpress/maps-builder-core/includes/misc-functions.php  
  1. function gmb_get_map_languages() { 
  2.  
  3. $lanugages = apply_filters( 'gmb_map_languages', array( 
  4. '' => __( 'User Default', 'google-maps-builder' ),  
  5. 'af' => __( 'Afrikaans', 'google-maps-builder' ),  
  6. 'sq' => __( 'Albanian', 'google-maps-builder' ),  
  7. 'eu' => __( 'Basque', 'google-maps-builder' ),  
  8. 'be' => __( 'Belarusian', 'google-maps-builder' ),  
  9. 'bg' => __( 'Bulgarian', 'google-maps-builder' ),  
  10. 'ca' => __( 'Catalan', 'google-maps-builder' ),  
  11. 'zh-cn' => __( 'Chinese (Simplified)', 'google-maps-builder' ),  
  12. 'zh-tw' => __( 'Chinese (Traditional)', 'google-maps-builder' ),  
  13. 'hr' => __( 'Croatian', 'google-maps-builder' ),  
  14. 'cs' => __( 'Czech', 'google-maps-builder' ),  
  15. 'da' => __( 'Danish', 'google-maps-builder' ),  
  16. 'nl' => __( 'Dutch', 'google-maps-builder' ),  
  17. 'nl-be' => __( 'Dutch (Belgium)', 'google-maps-builder' ),  
  18. 'nl-nl' => __( 'Dutch (Netherlands)', 'google-maps-builder' ),  
  19. 'en' => __( 'English', 'google-maps-builder' ),  
  20. 'en-au' => __( 'English (Australia)', 'google-maps-builder' ),  
  21. 'en-bz' => __( 'English (Belize)', 'google-maps-builder' ),  
  22. 'en-ca' => __( 'English (Canada)', 'google-maps-builder' ),  
  23. 'en-ie' => __( 'English (Ireland)', 'google-maps-builder' ),  
  24. 'en-jm' => __( 'English (Jamaica)', 'google-maps-builder' ),  
  25. 'en-nz' => __( 'English (New Zealand)', 'google-maps-builder' ),  
  26. 'en-ph' => __( 'English (Phillipines)', 'google-maps-builder' ),  
  27. 'en-za' => __( 'English (South Africa)', 'google-maps-builder' ),  
  28. 'en-tt' => __( 'English (Trinidad)', 'google-maps-builder' ),  
  29. 'en-gb' => __( 'English (United Kingdom)', 'google-maps-builder' ),  
  30. 'en-us' => __( 'English (United States)', 'google-maps-builder' ),  
  31. 'en-zw' => __( 'English (Zimbabwe)', 'google-maps-builder' ),  
  32. 'et' => __( 'Estonian', 'google-maps-builder' ),  
  33. 'fo' => __( 'Faeroese', 'google-maps-builder' ),  
  34. 'fi' => __( 'Finnish', 'google-maps-builder' ),  
  35. 'fr' => __( 'French', 'google-maps-builder' ),  
  36. 'fr-be' => __( 'French (Belgium)', 'google-maps-builder' ),  
  37. 'fr-ca' => __( 'French (Canada)', 'google-maps-builder' ),  
  38. 'fr-fr' => __( 'French (France)', 'google-maps-builder' ),  
  39. 'fr-lu' => __( 'French (Luxembourg)', 'google-maps-builder' ),  
  40. 'fr-mc' => __( 'French (Monaco)', 'google-maps-builder' ),  
  41. 'fr-ch' => __( 'French (Switzerland)', 'google-maps-builder' ),  
  42. 'gl' => __( 'Galician', 'google-maps-builder' ),  
  43. 'gd' => __( 'Gaelic', 'google-maps-builder' ),  
  44. 'de' => __( 'German', 'google-maps-builder' ),  
  45. 'de-at' => __( 'German (Austria)', 'google-maps-builder' ),  
  46. 'de-de' => __( 'German (Germany)', 'google-maps-builder' ),  
  47. 'de-li' => __( 'German (Liechtenstein)', 'google-maps-builder' ),  
  48. 'de-lu' => __( 'German (Luxembourg)', 'google-maps-builder' ),  
  49. 'de-ch' => __( 'German (Switzerland)', 'google-maps-builder' ),  
  50. 'el' => __( 'Greek', 'google-maps-builder' ),  
  51. 'haw' => __( 'Hawaiian', 'google-maps-builder' ),  
  52. 'hu' => __( 'Hungarian', 'google-maps-builder' ),  
  53. 'is' => __( 'Icelandic', 'google-maps-builder' ),  
  54. 'in' => __( 'Indonesian', 'google-maps-builder' ),  
  55. 'ga' => __( 'Irish', 'google-maps-builder' ),  
  56. 'it' => __( 'Italian', 'google-maps-builder' ),  
  57. 'it-it' => __( 'Italian (Italy)', 'google-maps-builder' ),  
  58. 'it-ch' => __( 'Italian (Switzerland)', 'google-maps-builder' ),  
  59. 'ja' => __( 'Japanese', 'google-maps-builder' ),  
  60. 'ko' => __( 'Korean', 'google-maps-builder' ),  
  61. 'mk' => __( 'Macedonian', 'google-maps-builder' ),  
  62. 'no' => __( 'Norwegian', 'google-maps-builder' ),  
  63. 'pl' => __( 'Polish', 'google-maps-builder' ),  
  64. 'pt' => __( 'Portuguese', 'google-maps-builder' ),  
  65. 'pt-br' => __( 'Portuguese (Brazil)', 'google-maps-builder' ),  
  66. 'pt-pt' => __( 'Portuguese (Portugal)', 'google-maps-builder' ),  
  67. 'ro' => __( 'Romanian', 'google-maps-builder' ),  
  68. 'ro-mo' => __( 'Romanian (Moldova)', 'google-maps-builder' ),  
  69. 'ro-ro' => __( 'Romanian (Romania)', 'google-maps-builder' ),  
  70. 'ru' => __( 'Russian', 'google-maps-builder' ),  
  71. 'ru-mo' => __( 'Russian (Moldova)', 'google-maps-builder' ),  
  72. 'ru-ru' => __( 'Russian (Russia)', 'google-maps-builder' ),  
  73. 'sr' => __( 'Serbian', 'google-maps-builder' ),  
  74. 'sk' => __( 'Slovak', 'google-maps-builder' ),  
  75. 'sl' => __( 'Slovenian', 'google-maps-builder' ),  
  76. 'es' => __( 'Spanish', 'google-maps-builder' ),  
  77. 'es-ar' => __( 'Spanish (Argentina)', 'google-maps-builder' ),  
  78. 'es-bo' => __( 'Spanish (Bolivia)', 'google-maps-builder' ),  
  79. 'es-cl' => __( 'Spanish (Chile)', 'google-maps-builder' ),  
  80. 'es-co' => __( 'Spanish (Colombia)', 'google-maps-builder' ),  
  81. 'es-cr' => __( 'Spanish (Costa Rica)', 'google-maps-builder' ),  
  82. 'es-do' => __( 'Spanish (Dominican Republic)', 'google-maps-builder' ),  
  83. 'es-ec' => __( 'Spanish (Ecuador)', 'google-maps-builder' ),  
  84. 'es-sv' => __( 'Spanish (El Salvador)', 'google-maps-builder' ),  
  85. 'es-gt' => __( 'Spanish (Guatemala)', 'google-maps-builder' ),  
  86. 'es-hn' => __( 'Spanish (Honduras)', 'google-maps-builder' ),  
  87. 'es-mx' => __( 'Spanish (Mexico)', 'google-maps-builder' ),  
  88. 'es-ni' => __( 'Spanish (Nicaragua)', 'google-maps-builder' ),  
  89. 'es-pa' => __( 'Spanish (Panama)', 'google-maps-builder' ),  
  90. 'es-py' => __( 'Spanish (Paraguay)', 'google-maps-builder' ),  
  91. 'es-pe' => __( 'Spanish (Peru)', 'google-maps-builder' ),  
  92. 'es-pr' => __( 'Spanish (Puerto Rico)', 'google-maps-builder' ),  
  93. 'es-es' => __( 'Spanish (Spain)', 'google-maps-builder' ),  
  94. 'es-uy' => __( 'Spanish (Uruguay)', 'google-maps-builder' ),  
  95. 'es-ve' => __( 'Spanish (Venezuela)', 'google-maps-builder' ),  
  96. 'sv' => __( 'Swedish', 'google-maps-builder' ),  
  97. 'sv-fi' => __( 'Swedish (Finland)', 'google-maps-builder' ),  
  98. 'sv-se' => __( 'Swedish (Sweden)', 'google-maps-builder' ),  
  99. 'tr' => __( 'Turkish', 'google-maps-builder' ),  
  100. 'uk' => __( 'Ukranian', 'google-maps-builder' ),  
  101. ) ); 
  102.  
  103. return $lanugages; 
  104.