translations.features.language.inc 788 B

12345678910111213141516171819202122232425262728293031323334353637383940
  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: en.
  12. $languages['en'] = array(
  13. 'language' => 'en',
  14. 'name' => 'English',
  15. 'native' => 'English',
  16. 'direction' => 0,
  17. 'enabled' => 1,
  18. 'plurals' => 0,
  19. 'formula' => '',
  20. 'domain' => '',
  21. 'prefix' => 'en',
  22. 'weight' => -10,
  23. );
  24. // Exported language: fr.
  25. $languages['fr'] = array(
  26. 'language' => 'fr',
  27. 'name' => 'French',
  28. 'native' => 'Français',
  29. 'direction' => 0,
  30. 'enabled' => 1,
  31. 'plurals' => 2,
  32. 'formula' => '($n>1)',
  33. 'domain' => '',
  34. 'prefix' => 'fr',
  35. 'weight' => -9,
  36. );
  37. return $languages;
  38. }