Skip to content

Commit

Permalink
CLDR-17754 added Samogitian language
Browse files Browse the repository at this point in the history
See #3818
  • Loading branch information
zordsdavini committed Nov 15, 2024
1 parent 8cc4d74 commit f58197f
Show file tree
Hide file tree
Showing 5 changed files with 123 additions and 0 deletions.
36 changes: 36 additions & 0 deletions common/casing/sgs.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE ldml SYSTEM "../../common/dtd/ldml.dtd">
<!-- Copyright © 1991-2024 Unicode, Inc.
CLDR data files are interpreted according to the LDML specification (http://unicode.org/reports/tr35/)
For terms of use, see http://www.unicode.org/copyright.html
-->
<ldml>
<identity>
<version number="$Revision$"/>
<language type="sgs"/>
</identity>
<metadata>
<casingData>
<casingItem type="calendar_field">lowercase</casingItem>
<casingItem type="currencyName">titlecase</casingItem>
<casingItem type="currencyName_count">titlecase</casingItem>
<casingItem type="day_narrow">titlecase</casingItem>
<casingItem type="era_abbr">titlecase</casingItem>
<casingItem type="era_name">titlecase</casingItem>
<casingItem type="era_narrow">titlecase</casingItem>
<casingItem type="language">lowercase</casingItem>
<casingItem type="metazone_long">titlecase</casingItem>
<casingItem type="month_format_except_narrow">titlecase</casingItem>
<casingItem type="month_standalone_except_narrow">titlecase</casingItem>
<casingItem type="quarter_abbreviated">titlecase</casingItem>
<casingItem type="quarter_format_wide">titlecase</casingItem>
<casingItem type="quarter_standalone_wide">titlecase</casingItem>
<casingItem type="relative">lowercase</casingItem>
<casingItem type="script">lowercase</casingItem>
<casingItem type="territory">titlecase</casingItem>
<casingItem type="variant">titlecase</casingItem>
<casingItem type="zone_exemplarCity">titlecase</casingItem>
<casingItem type="zone_long">titlecase</casingItem>
</casingData>
</metadata>
</ldml>
32 changes: 32 additions & 0 deletions common/collation/sgs.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE ldml SYSTEM "../../common/dtd/ldml.dtd">
<!--
Copyright © 1991-2024 Unicode, Inc.
CLDR data files are interpreted according to the LDML specification (http://unicode.org/reports/tr35/)
For terms of use, see http://www.unicode.org/copyright.html
-->
<ldml>
<identity>
<version number="$Revision$" />
<language type="sgs" />
</identity>
<collations>
<collation type="standard" references="Juozas Pabrėža: Žemaičių kalba ir rašyba ISBN 978-609-8179-10-1">
<cr><![CDATA[
&A<ā<<ā<<<Ā<<Ā
&C<č<<<Č
&E<ē<<ē<<<Ē<<Ē<ė<<<Ė<ė̄<<<Ė̄
&I<ī<<ī<<<Ī<<Ī
&O<ō<<ō<<<Ō<<Ō
&S<š<<<Š
&U<ū<<ū<<<Ū<<Ū
&Z<ž<<<Ž
]]></cr>
</collation>
</collations>
</ldml>

<!--
There are ideas to add more letters but untill it is not official it would be skipped.
These letters are: ëůéóêȧǡ
-->
34 changes: 34 additions & 0 deletions common/main/sgs.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE ldml SYSTEM "../../common/dtd/ldml.dtd">
<!-- Copyright © 1991-2024 Unicode, Inc.
For terms of use, see http://www.unicode.org/copyright.html
SPDX-License-Identifier: Unicode-DFS-2016
CLDR data files are interpreted according to the LDML specification (http://unicode.org/reports/tr35/)
Warnings: All cp values have U+FE0F characters removed. See /annotationsDerived/ for derived annotations.
-->
<ldml>
<identity>
<version number="$Revision$"/>
<language type="sgs"/>
</identity>
<characters>
<exemplarCharacters>[aā b c č d eē ė{ė\u0304} f g h iī j k l m n oō p r s š t uū v z ž]</exemplarCharacters>
<exemplarCharacters type="auxiliary">[{a\u0304} {ch} {dz} {dž} {e\u0304} {i\u0304} {o\u0304} {u\u0304}]</exemplarCharacters>
<exemplarCharacters type="index">[AĀ B C Č D EĒ Ė{Ė\u0304} F G H IĪ J K L M N OŌ P R S Š T UŪ V Z Ž]</exemplarCharacters>
<exemplarCharacters type="numbers">[  , % ‰ + − 0 1 2 3 4 5 6 7 8 9]</exemplarCharacters>
<exemplarCharacters type="punctuation">[\- ‐‑ – — , ; \: ! ? . … “„ ( ) \[ \] \{ \}]</exemplarCharacters>
</characters>
<delimiters>
<quotationStart>„</quotationStart>
<quotationEnd>“</quotationEnd>
<alternateQuotationStart>„</alternateQuotationStart>
<alternateQuotationEnd>“</alternateQuotationEnd>
</delimiters>
<posix>
<messages>
<yesstr>tēp:t</yesstr>
<nostr>nē:n</nostr>
</messages>
</posix>
</ldml>
14 changes: 14 additions & 0 deletions common/main/sgs_LT.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE ldml SYSTEM "../../common/dtd/ldml.dtd">
<!-- Copyright © 1991-2024 Unicode, Inc.
For terms of use, see http://www.unicode.org/copyright.html
SPDX-License-Identifier: Unicode-DFS-2016
CLDR data files are interpreted according to the LDML specification (http://unicode.org/reports/tr35/)
-->
<ldml>
<identity>
<version number="$Revision$"/>
<language type="sgs"/>
<territory type="LT"/>
</identity>
</ldml>
7 changes: 7 additions & 0 deletions common/supplemental/plurals.xml
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,13 @@ CLDR data files are interpreted according to the LDML specification (http://unic
<pluralRule count="many">v != 0 @decimal 0.0~1.5, 10.0, 100.0, 1000.0, 10000.0, 100000.0, 1000000.0, …</pluralRule>
<pluralRule count="other"> @integer 3~10, 13~19, 23, 103, 1003, …</pluralRule>
</pluralRules>
<pluralRules locales="sgs">
<pluralRule count="one">n % 10 = 1 and n % 100 != 11 @integer 1, 21, 31, 41, 51, 61, 71, 81, 101, 1001, … @decimal 1.0, 21.0, 31.0, 41.0, 51.0, 61.0, 71.0, 81.0, 101.0, 1001.0, …</pluralRule>
<pluralRule count="two">n = 2 @integer 2 @decimal 2.0 </pluralRule>
<pluralRule count="few">n != 2 and n % 10 = 2..9 and n % 100 != 11..19 @integer 3~9, 22~29, 102, 1002, … @decimal 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 22.0, 102.0, 1002.0, …</pluralRule>
<pluralRule count="many">f != 0 @decimal 0.1~0.9, 1.1~1.7, 10.1, 100.1, 1000.1, …</pluralRule>
<pluralRule count="other"> @integer 0, 10~20, 30, 40, 50, 60, 100, 1000, 10000, 100000, 1000000, … @decimal 0.0, 10.0, 11.0, 12.0, 13.0, 14.0, 15.0, 16.0, 100.0, 1000.0, 10000.0, 100000.0, 1000000.0, …</pluralRule>
</pluralRules>

<!-- 6: zero,one,two,few,many,other -->

Expand Down

0 comments on commit f58197f

Please sign in to comment.