Partilhar via


Klingon Custom Culture/Locale MS LDML File

This is intended to go with the custom culture LDML example.  Cut & paste this into a file called "tlh-Latn-US.ldml".  Notepad should work.

<?xml version="1.0" encoding="utf-8"?>
<ldml>
  <identity>
    <version number="1.1">ldml version 1.1</version>
    <generation date="2005-11-23" />
    <special xmlns:msLocale="https://schemas.microsoft.com/globalization/2004/08/carib/ldml">
      <msLocale:cultureInfoVersion type="1.0" />
      <msLocale:cultureAndRegionInfoName type="tlh-Latn-US" />
      <msLocale:geoId>244</msLocale:geoId>
      <msLocale:parentName type="en-US" />
      <msLocale:languageNameAbbr type="TLH" />
      <msLocale:languageIsoName type="threeLetters">tlh</msLocale:languageIsoName>
      <msLocale:languageIsoName type="twoLetters">tlh</msLocale:languageIsoName>
      <msLocale:nativeName type="tlhIngan Hol (tera)" />
      <msLocale:regionEnglishName type="United States" />
      <msLocale:regionNativeName type="tera" />
      <msLocale:regionIsoName type="threeLetters">USA</msLocale:regionIsoName>
      <msLocale:regionIsoName type="twoLetters">US</msLocale:regionIsoName>
      <msLocale:regionWindowsName type="threeLetters">USA</msLocale:regionWindowsName>
      <msLocale:englishName type="Klingon (United States)" />
      <msLocale:nativeDisplayName type="tlhIngan Hol (tera)" />
      <msLocale:textInfoName type="en-US" />
      <msLocale:sortName type="en-US" />
      <msLocale:ietfLanguageTag type="tlh-Latn-US" />
    </special>
  </identity>
  <layout>
    <special xmlns:msLocale="https://schemas.microsoft.com/globalization/2004/08/carib/ldml">
      <msLocale:direction type="left-to-right" />
    </special>
  </layout>
  <characters>
    <special xmlns:msLocale="https://schemas.microsoft.com/globalization/2004/08/carib/ldml">
      <msLocale:keyboardLayout>1033</msLocale:keyboardLayout>
      <msLocale:consoleFallbackName type="" />
      <msLocale:fontSignature>
        <msLocale:unicodeRanges>
          <msLocale:range type="1" />
        </msLocale:unicodeRanges>
        <msLocale:defaultCodePages>
          <msLocale:ansiCodePage>
            <msLocale:codePage type="1252" />
          </msLocale:ansiCodePage>
          <msLocale:ansiOemCodePage />
          <msLocale:oemCodePage>
            <msLocale:codePage type="437" />
          </msLocale:oemCodePage>
      
  </msLocale:defaultCodePages>
        <msLocale:codePages>
          <msLocale:ansiCodePage>
            <msLocale:codePage type="1252" />
          </msLocale:ansiCodePage>
          <msLocale:ansiOemCodePage />
          <msLocale:oemCodePage>
            <msLocale:codePage type="437" />
          </msLocale:oemCodePage>
        </msLocale:codePages>
      </msLocale:fontSignature>
      <msLocale:scripts />
    </special>
  </characters>
  <measurement>
    <measurementSystem type="US" />
    <paperSize>
      <height>297</height>
      <width>210</width>
    </paperSize>
  </measurement>
  <dates>
    <calendars>
      <default type="Gregorian" />
      <calendar type="Gregorian">
        <months>
          <monthContext type="format">
            <monthWidth type="wide">
              <month type="1">janu'rIy</month>
              <month type="2">'ebru'rIy</month>
              <month type="3">march</month>
              <month type="4">I'prIl</month>
              <month type="5">mey</month>
              <month type="6">jung</month>
              <month type="7">julay</month>
              <month type="8">aghuSt</month>
              <month type="9">Sept'mber</month>
              <month type="10">aghtober</month>
              <month type="11">nov'mber</month>
              <month type="12">DeSember</month>
              <month type="13" />
            </monthWidth>
            <monthWidth type="abbreviated">
              <month type="1">jan</month>
              <month type="2">'eb</month>
              <month type="3">mar</month>
           
   <month type="4">I'pr</month>
              <month type="5">mey</month>
              <month type="6">jung</month>
              <month type="7">jul</month>
              <month type="8">aghu</month>
              <month type="9">Sep</month>
              <month type="10">aght</month>
              <month type="11">nov</month>
              <month type="12">DeS</month>
              <month type="13" />
            </monthWidth>
            <monthWidth type="genitive">
              <month type="1">janu'rIy</month>
              <month type="2">'ebru'rIy</month>
              <month type="3">march</month>
              <month type="4">I'prIl</month>
              <month type="5">mey</month>
              <month type="6">jung</month>
              <month type="7">julay</month>
              <month type="8">aghuSt</month>
              <month type="9">Sept'mber</month>
              <month type="10">aghtober</month>
              <month type="11">nov'mber</month>
              <month type="12">DeSember</month>
              <month type="13" />
            </monthWidth>
            <monthWidth type="genitiveAbbreviated">
              <month type="1">jan</month>
              <month type="2">'eb</month>
              <month type="3">mar</month>
              <month type="4">I'pr</month>
              <month type="5">mey</month>
              <month type="6">jung</month>
              <month type="7">jul</month>
           &
nbsp;  <month type="8">aghu</month>
              <month type="9">Sep</month>
              <month type="10">aght</month>
              <month type="11">nov</month>
              <month type="12">DeS</month>
              <month type="13" />
            </monthWidth>
          </monthContext>
        </months>
        <days>
          <dayContext type="format">
            <dayWidth type="wide">
              <day type="sun">Sunjaj</day>
              <day type="mon">monjaj</day>
              <day type="tue">tuSjaj</day>
              <day type="wed">wenSjaj</day>
              <day type="thu">tlherSjaj</day>
              <day type="fri">'rayjaj</day>
              <day type="sat">Satjaj</day>
            </dayWidth>
            <dayWidth type="abbreviated">
              <day type="sun">Sun</day>
              <day type="mon">mon</day>
              <day type="tue">tuS</day>
              <day type="wed">wenS</day>
              <day type="thu">tlher</day>
              <day type="fri">'ray</day>
              <day type="sat">Sat</day>
            </dayWidth>
            <dayWidth type="shortest">
              <day type="sun">Su</day>
              <day type="mon">mo</day>
              <day type="tue">tu</day>
              <day type="wed">we</day>
              <day type="thu">tlhe</day>
              <day type="fri">'rI</day>
              <day type="sat">Sa</day>
   &
nbsp;        </dayWidth>
          </dayContext>
        </days>
        <week>
          <firstDay day="sun" />
          <special xmlns:msLocale="https://schemas.microsoft.com/globalization/2004/08/carib/ldml">
            <msLocale:weekRule type="firstDay" />
          </special>
        </week>
        <am />
        <pm />
        <dateFormats>
          <special xmlns:msLocale="https://schemas.microsoft.com/globalization/2004/08/carib/ldml">
            <msLocale:dateFormatLength type="long">
              <msLocale:default type="0" />
              <msLocale:dateFormat type="0">
                <msLocale:pattern>'tera'' dddd, MMMM dd, 'DIS' yyyy</msLocale:pattern>
              </msLocale:dateFormat>
            </msLocale:dateFormatLength>
            <msLocale:dateFormatLength type="short">
              <msLocale:default type="0" />
              <msLocale:dateFormat type="0">
                <msLocale:pattern>'tera'' M/d/yyyy</msLocale:pattern>
              </msLocale:dateFormat>
            </msLocale:dateFormatLength>
            <msLocale:yearMonthFormat>
              <msLocale:default type="0" />
              <msLocale:yearMonth type="0">
                <msLocale:pattern>'tera'' MMMM, 'DIS' yyyy</msLocale:pattern>
              </msLocale:yearMonth>
            </msLocale:yearMonthFormat>
            <msLocale:monthDay>
              <msLocale:pattern>'tera'' MMMM dd</msLocale:pattern>
            </msLocale:monthDay>
          </special>
        </dateFormats>
        <timeFormats>
          <special xmlns:msLocale="https://schemas.microsoft.com/globalization/2004/08/carib/ldml">
            <msLocale:timeFormatLength type="long">
              <msLocale:default type="0" />
              <msLocale:timeFormat type="0">
                <msLocale:pattern>'tera'' H:mm:ss tt</msLocale:pattern>
              </msLocale:timeFormat>
            </msLocale:timeFormatLength>
            <msLocale:timeFormatLength type="short">
              <msLocale:default type="0" />
              <msLocale:timeFormat type="0">
                <msLocale:pattern>'tera'' H:mm</msLocale:pattern>
              </msLocale:timeFormat>
            </msLocale:timeFormatLength>
            <msLocale:durationFormats>
              <msLocale:default type="0" />
              <msLocale:durationFormat type="0">
                <msLocale:pattern>HH:mm:ss</msLocale:pattern>
              </msLocale:durationFormat>
            </msLocale:durationFormats>
          </special>
        </timeFormats>
      </calendar>
      <calendar type="Gregorian US" />
    </calendars>
  </dates>
  <numbers>
    <symbols>
      <list>,</list>
      <decimal>.</decimal>
      <group>,</group>
      <percentSign>%</percentSign>
      <infinity type="positive">mI'tIntIn</infinity>
      <infinity type="negative">mI'tIntaH</infinity>
      <nan>mI'wej</nan>
      <PlusSign>+</PlusSign>
      <minusSign>-</minusSign>
      <special xmlns:msLocale="https://schemas.microsoft.com/globalization/2004/08/carib/ldml">
        <msLocale:currencyDecimalSeparator>.</msLocale:currencyDecimalSeparator>
        <msLocale:currencyGroupSeparator>,</msLocale:currencyGroupSeparator>
      </special>
    </symbols>
    <special xmlns:msLocale="https://schemas.microsoft.com/globalization/2004/08/carib/
ldml
">
      <msLocale:decimalDigits>2</msLocale:decimalDigits>
      <msLocale:negativePattern type="1" />
      <msLocale:currencyDecimalDigits type="2" />
      <msLocale:currencyPositivePattern type="0" />
      <msLocale:currencyNegativePattern type="0" />
      <msLocale:percentNegativePattern type="0" />
      <msLocale:percentPositivePattern type="0" />
      <msLocale:leadingZero type="no" />
      <msLocale:groupSizes type="0">3</msLocale:groupSizes>
      <msLocale:currencyGroupSizes type="0">3</msLocale:currencyGroupSizes>
      <msLocale:nativeDigits type="0">0</msLocale:nativeDigits>
      <msLocale:nativeDigits type="1">1</msLocale:nativeDigits>
      <msLocale:nativeDigits type="2">2</msLocale:nativeDigits>
      <msLocale:nativeDigits type="3">3</msLocale:nativeDigits>
      <msLocale:nativeDigits type="4">4</msLocale:nativeDigits>
      <msLocale:nativeDigits type="5">5</msLocale:nativeDigits>
      <msLocale:nativeDigits type="6">6</msLocale:nativeDigits>
      <msLocale:nativeDigits type="7">7</msLocale:nativeDigits>
      <msLocale:nativeDigits type="8">8</msLocale:nativeDigits>
      <msLocale:nativeDigits type="9">9</msLocale:nativeDigits>
      <msLocale:digitSubstitution type="none" />
    </special>
    <currencies>
      <currency type="default">
        <symbol>$</symbol>
        <displayName>us Huch</displayName>
        <special xmlns:msLocale="https://schemas.microsoft.com/globalization/2004/08/carib/ldml">
          <msLocale:isoCurrency>USD</msLocale:isoCurrency>
          <msLocale:currencyEnglishName>US Dollar</msLocale:currencyEnglishName>
        </special>
      </currency>
    </currencies>
  </numbers>
</ldml>

Comments