From 97e7b6aa422d0bcfebefba591a3a9b8f883916e1 Mon Sep 17 00:00:00 2001 From: Akhilesh Kumar Date: Wed, 5 Jul 2017 17:22:43 +0530 Subject: [PATCH] Added Tok-Pisin locale. [BZ #21694] Added tok-pisin language locale for Papua New Guinea. Signed-off-by: Akhilesh Kumar --- localedata/ChangeLog | 5 + localedata/SUPPORTED | 1 + localedata/locales/tpi_PG | 217 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 223 insertions(+) create mode 100644 localedata/locales/tpi_PG diff --git a/localedata/ChangeLog b/localedata/ChangeLog index 1ab60c0b3a..d291642163 100644 --- a/localedata/ChangeLog +++ b/localedata/ChangeLog @@ -1,3 +1,8 @@ +2017-07-05 Akhilesh Kumar + + [BZ #21694] + * Added tok-pisin language locale for Papua New Guinea. + 2017-07-04 Akhilesh Kumar [BZ #21706] diff --git a/localedata/SUPPORTED b/localedata/SUPPORTED index 4ade0557a8..6e4929acb4 100644 --- a/localedata/SUPPORTED +++ b/localedata/SUPPORTED @@ -424,6 +424,7 @@ tk_TM/UTF-8 \ tl_PH.UTF-8/UTF-8 \ tl_PH/ISO-8859-1 \ tn_ZA/UTF-8 \ +tpi_PG/UTF-8 \ tr_CY.UTF-8/UTF-8 \ tr_CY/ISO-8859-9 \ tr_TR.UTF-8/UTF-8 \ diff --git a/localedata/locales/tpi_PG b/localedata/locales/tpi_PG new file mode 100644 index 0000000000..4f604dd196 --- /dev/null +++ b/localedata/locales/tpi_PG @@ -0,0 +1,217 @@ +comment_char % +escape_char / + +% Tok Pisin language locale for Papua New Guinea. +% Contributed by Akhilesh Kumar . +% Words translated from http://www.tok-pisin.com/ + +LC_IDENTIFICATION +title "Tok Pisin language locale for Papua New Guinea" +source "Samsung Electronics Co., Ltd." +address "" +contact "" +email "akhilesh.k@samsung.com" +tel "" +fax "" +language "Tok Pisin" +territory "Papua New Guinea" +revision "0.1" +date "2017-03-21" + +category "i18n:2012";LC_IDENTIFICATION +category "i18n:2012";LC_CTYPE +category "i18n:2012";LC_COLLATE +category "i18n:2012";LC_TIME +category "i18n:2012";LC_NUMERIC +category "i18n:2012";LC_MONETARY +category "i18n:2012";LC_PAPER +category "i18n:2012";LC_MEASUREMENT +category "i18n:2012";LC_MESSAGES +category "i18n:2012";LC_NAME +category "i18n:2012";LC_ADDRESS +category "i18n:2012";LC_TELEPHONE +END LC_IDENTIFICATION + +LC_CTYPE +copy "i18n" + +translit_start +include "translit_combining";"" +translit_end +END LC_CTYPE + +LC_COLLATE +% Copy the template from ISO/IEC 3166 +copy "iso14651_t1" +END LC_COLLATE + +LC_TIME +% Full month names +% Month names from http://www.tok-pisin.com, the month names from +% http://wikitravel.org/en/Tok_Pisin_phrasebook differ a bit. +% Janueri, Februeri, Mas, Epril, Me, Jun, Julai, Ogas, Septemba, Oktoba, Novemba, Desemba +mon "";/ + "" + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "" +% +% Abbreviated month names +% Jan, Feb, Mar, Epr, Me, Jun, Jul, Oga, Sep, Okt, Nov, Des +abmon "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "" +% +% Full Weekday names +% Sande, Mande, Tunde, Trinde, Fonde, Fraide, Sarere +day "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "" +% +% Abbreviated Weekday names +% San, Man, Tun, Tri, Fon, Fra, Sar +abday "";/ + "";/ + "";/ + "";/ + "";/ + "";/ + "" +% +% Appropriate date and time representation +% %a %d %b %Y %T %Z +d_t_fmt "" +% +% Appropriate date representation +% https://en.wikipedia.org/wiki/Date_and_time_notation_in_Australia +% %d/%m/%Y +d_fmt "" +% +% Appropriate time representation +% %r +t_fmt "" +% +% Equivalent of AM PM +% AM -> biknait PM-> apinun (from http://wikitravel.org/en/Tok_Pisin_phrasebook) +% +am_pm "";/ + "" +% +% Appropriate 12 h time representation +% %I:%M:%S %p %Z +t_fmt_ampm "" +END LC_TIME +% +LC_NUMERIC +% . +decimal_point "" +% , +thousands_sep "" +grouping 3 +END LC_NUMERIC +% +% https://en.wikipedia.org/wiki/Papua_New_Guinea +% PGK +% https://en.wikipedia.org/wiki/Papua_New_Guinean_kina +% https://en.wikipedia.org/wiki/Currency_symbol +% K +LC_MONETARY +currency_symbol "" +int_curr_symbol "" +mon_decimal_point "" +mon_thousands_sep "" +mon_grouping 3 +positive_sign "" +negative_sign "" +int_frac_digits 2 +frac_digits 2 +p_cs_precedes 1 +int_p_sep_by_space 1 +p_sep_by_space 1 +n_cs_precedes 1 +int_n_sep_by_space 1 +n_sep_by_space 1 +p_sign_posn 1 +n_sign_posn 1 +END LC_MONETARY + +LC_PAPER +copy "i18n" +END LC_PAPER + +LC_MEASUREMENT +measurement 1 +END LC_MEASUREMENT + +LC_MESSAGES +% ^[yY].* +yesexpr "" +% ^[nN].* +noexpr "" +% yes +yesstr "" +% nogat +nostr "" +END LC_MESSAGES + +LC_NAME +copy "en_US" +END LC_NAME + +LC_ADDRESS +% http://www.addressexamples.com/papua-new-guinea-address-format/ +% %a%s%z%C +postal_fmt "" +% Papua New Guinea +country_name "" +% No code +country_post "" +% http://laendercode.net/en/2-letter-list.html +% PG +country_ab2 "" +% PNG +% http://laendercode.net/en/countries.html +country_ab3 "" +country_car "" +% https://en.wikipedia.org/wiki/ISO_3166-1_numeric +country_num 598 +% Tok Pisin +lang_name "" +% https://en.wikipedia.org/wiki/Tok_Pisin +% "", "tpi", "tpi" +lang_ab "" +lang_term "" +lang_lib "" +END LC_ADDRESS + +LC_TELEPHONE +% https://www.howtocallabroad.com/papua/ +% +% +%c %l +tel_int_fmt "" +% 00 +int_select "" +% http://www.nationsonline.org/oneworld/international-calling-codes.htm +% 675 +int_prefix "" +END LC_TELEPHONE