name_order_conventions.php 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. <?php
  2. /* For licensing terms, see /license.txt */
  3. /**
  4. * @package chamilo.include.internationalization
  5. */
  6. /**
  7. * The following table contains two types of conventions concerning person names:
  8. *
  9. * "format" - determines how a full person name to be formatted, i.e. in what order the title, the first_name and the last_name to be placed.
  10. * You might need to correct the value for your language. The possible values are:
  11. * title first_name last_name - Western order;
  12. * title last_name first_name - Eastern order;
  13. * title last_name, first_name - Western libraries order.
  14. * Placing the title (Dr, Mr, Miss, etc) depends on the tradition in you country.
  15. * @link http://en.wikipedia.org/wiki/Personal_name#Naming_convention
  16. *
  17. * "sort_by" - determines you preferable way of sorting person names. The possible values are:
  18. * first_name - sorting names with priority for the first name;
  19. * last_name - sorting names with priority for the last name.
  20. */
  21. return array(
  22. 'afrikaans' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
  23. 'albanian' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
  24. 'alemannic' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
  25. 'amharic' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
  26. 'armenian' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
  27. 'arabic' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
  28. 'asturian' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
  29. 'bosnian' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
  30. 'brazilian' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
  31. 'breton' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
  32. 'bulgarian' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
  33. 'catalan' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
  34. 'croatian' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
  35. 'czech' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
  36. 'danish' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
  37. 'dari' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
  38. 'dutch' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
  39. 'english' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
  40. 'esperanto' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
  41. 'estonian' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
  42. 'basque' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
  43. 'finnish' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
  44. 'french' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
  45. 'frisian' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
  46. 'friulian' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
  47. 'galician' => array('format' => 'title last_name first_name', 'sort_by' => 'last_name'),
  48. 'georgian' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
  49. 'german' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
  50. 'greek' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
  51. 'hawaiian' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
  52. 'hebrew' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
  53. 'hindi' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
  54. 'hungarian' => array('format' => 'title last_name first_name', 'sort_by' => 'last_name'), // Eastern order
  55. 'icelandic' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
  56. 'indonesian' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
  57. 'irish' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
  58. 'italian' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
  59. 'japanese' => array('format' => 'title last_name first_name', 'sort_by' => 'last_name'), // Eastern order
  60. 'korean' => array('format' => 'title last_name first_name', 'sort_by' => 'last_name'), // Eastern order
  61. 'latin' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
  62. 'latvian' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
  63. 'lithuanian' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
  64. 'macedonian' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
  65. 'malay' => array('format' => 'title last_name first_name', 'sort_by' => 'last_name'), // Eastern order
  66. 'manx' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
  67. 'marathi' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
  68. 'middle_frisian' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
  69. 'mingo' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
  70. 'nepali' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
  71. 'norwegian' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
  72. 'occitan' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
  73. 'pashto' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
  74. 'persian' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
  75. 'polish' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
  76. 'portuguese' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
  77. 'quechua_cusco' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
  78. 'romanian' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
  79. 'rumantsch' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
  80. 'russian' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
  81. 'sanskrit' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
  82. 'serbian' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
  83. 'serbian_cyrillic' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
  84. 'simpl_chinese' => array('format' => 'title last_name first_name', 'sort_by' => 'last_name' ), // Eastern order
  85. 'slovak' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
  86. 'slovenian' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
  87. 'spanish' => array('format' => 'title last_name, first_name', 'sort_by' => 'last_name'), // Library order
  88. 'swahili' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
  89. 'swedish' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
  90. 'tagalog' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
  91. 'tamil' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
  92. 'thai' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
  93. 'trad_chinese' => array('format' => 'title last_name first_name', 'sort_by' => 'last_name'), // Eastern order
  94. 'turkish' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
  95. 'ukrainian' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
  96. 'vietnamese' => array('format' => 'title last_name first_name', 'sort_by' => 'last_name'), // Eastern order
  97. 'welsh' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
  98. 'yiddish' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name'),
  99. 'yoruba' => array('format' => 'title first_name last_name', 'sort_by' => 'first_name')
  100. );