translations.features.language.inc 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <?php
  2. /**
  3. * @file
  4. * translations.features.language.inc
  5. */
  6. /**
  7. * Implements hook_locale_default_languages().
  8. */
  9. function translations_locale_default_languages() {
  10. $languages = array();
  11. // Exported language: cs.
  12. $languages['cs'] = array(
  13. 'language' => 'cs',
  14. 'name' => 'Czech',
  15. 'native' => 'Čeština',
  16. 'direction' => 0,
  17. 'enabled' => 1,
  18. 'plurals' => 3,
  19. 'formula' => '(((($n%10)==1)&&(($n%100)!=11))?(0):((((($n%10)>=2)&&(($n%10)<=4))&&((($n%100)<10)||(($n%100)>=20)))?(1):2))',
  20. 'domain' => '',
  21. 'prefix' => 'cs',
  22. 'weight' => 0,
  23. );
  24. // Exported language: en.
  25. $languages['en'] = array(
  26. 'language' => 'en',
  27. 'name' => 'English',
  28. 'native' => 'English',
  29. 'direction' => 0,
  30. 'enabled' => 1,
  31. 'plurals' => 0,
  32. 'formula' => '',
  33. 'domain' => '',
  34. 'prefix' => 'en',
  35. 'weight' => -10,
  36. );
  37. // Exported language: fr.
  38. $languages['fr'] = array(
  39. 'language' => 'fr',
  40. 'name' => 'French',
  41. 'native' => 'Français',
  42. 'direction' => 0,
  43. 'enabled' => 1,
  44. 'plurals' => 2,
  45. 'formula' => '($n>1)',
  46. 'domain' => '',
  47. 'prefix' => 'fr',
  48. 'weight' => -9,
  49. );
  50. // Exported language: zh-hans.
  51. $languages['zh-hans'] = array(
  52. 'language' => 'zh-hans',
  53. 'name' => 'Chinese, Simplified',
  54. 'native' => '简体中文',
  55. 'direction' => 0,
  56. 'enabled' => 1,
  57. 'plurals' => 2,
  58. 'formula' => '($n!=1)',
  59. 'domain' => '',
  60. 'prefix' => 'zh-hans',
  61. 'weight' => 0,
  62. );
  63. return $languages;
  64. }