Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use language code en-US instead of enUS #13

Open
chucklu opened this issue Aug 6, 2019 · 0 comments
Open

Use language code en-US instead of enUS #13

chucklu opened this issue Aug 6, 2019 · 0 comments

Comments

@chucklu
Copy link

chucklu commented Aug 6, 2019

Currently the language code can not be used directly

   [Test]
        public void TestChuck()
        {
            //CultureInfo cultureInfo=new CultureInfo("enUS"); //This line did not work
            CultureInfo cultureInfo2 = new CultureInfo("en-US");
            Console.WriteLine(cultureInfo2.DisplayName);
        }
<Entity CardID="AT_001" ID="2539" version="2">
		<MasterPower>7741f56d-95c5-424c-9586-266a51d27290</MasterPower>
		<Tag enumID="185" name="CARDNAME" type="LocString">
			<deDE>Flammenlanze</deDE>
			<enUS>Flame Lance</enUS>
			<esES>Lanza de llamas</esES>
			<esMX>Lanza flamígera</esMX>
			<frFR>Lance de flammes</frFR>
			<itIT>Lancia di Fuoco</itIT>
			<jaJP>フレイムランス</jaJP>
			<koKR>화염창</koKR>
			<plPL>Płomienna lanca</plPL>
			<ptBR>Lança de Fogo</ptBR>
			<ruRU>Огненное копье</ruRU>
			<thTH>หอกเพลิง</thTH>
			<zhCN>炎枪术</zhCN>
			<zhTW>火焰長矛</zhTW>
		</Tag>
		<Tag enumID="184" name="CARDTEXT" type="LocString">
			<deDE>Fügt einem Diener $8 Schaden zu.</deDE>
			<enUS>Deal $8 damage to a minion.</enUS>
			<esES>Inflige $8 p. de daño a un esbirro.</esES>
			<esMX>Inflige $8 de daño a un esbirro.</esMX>
			<frFR>Inflige $8 |4(point,points) de dégâts à un serviteur.</frFR>
			<itIT>Infligge $8 danni a un servitore.</itIT>
			<jaJP>[x]ミニオン1体に
$8ダメージを
与える。</jaJP>
			<koKR>하수인에게 피해를 $8 줍니다.</koKR>
			<plPL>Zadaj $8 pkt. obrażeń stronnikowi.</plPL>
			<ptBR>Cause $8 de dano a um lacaio.</ptBR>
			<ruRU>Наносит $8 ед. урона выбранному существу.</ruRU>
			<thTH>สร้างความเสียหาย_$8_แต้ม[b]ให้มินเนี่ยนหนึ่งตัว</thTH>
			<zhCN>对一个随从造成$8点伤害。</zhCN>
			<zhTW>對一個手下造成$8點傷害</zhTW>
		</Tag>
		<Tag enumID="351" name="FLAVORTEXT" type="LocString">
			<deDE>Die Sommerversion der Eislanze. Gut gegen chronisch kalte Hände.</deDE>
			<enUS>It's on the rack next to ice lance, acid lance, and English muffin lance.</enUS>
			<esES>A juego con Lanza de hielo, Lanza de ácido y Lanza de churros con chocolate.</esES>
			<esMX>Está en el mismo estante que Lanza de hielo, Lanza de ácido y Lanza de jengibre.</esMX>
			<frFR>Elle est sur le râtelier près de la lance de glace, la lance d’acide et la lance à incendie.</frFR>
			<itIT>È sulla rastrelliera, accanto alla Lancia di Ghiaccio, dopo la Lancia Ypsilon.</itIT>
			<jaJP>これと同じ棚には、アイスランス、アシッドランス、イングリッシュマフィンランスが並んでいる。</jaJP>
			<koKR>창에도 여러 종류가 있습니다. 얼음창, 화염창, 산성창, 그리고 와장창.</koKR>
			<plPL>Nic nadzwyczajnego, ot gigantyczna zapałka.</plPL>
			<ptBR>Fica junto da lança de gelo, da lança ácida e da lança de bolinhos.</ptBR>
			<ruRU>У рыцарей турнира богатый выбор: ледяное копье, огненное копье, кислотное копье и даже пряничное копье!</ruRU>
			<thTH>วางอยู่บนชั้นวางอาวุธ ถัดจากหอกน้ำแข็ง หอกพิษ และหอกขนมปัง</thTH>
			<zhCN>炎枪术,冰枪术,酸枪术……招招克敌,枪枪致命。</zhCN>
			<zhTW>火焰長矛?還是冰霜長矛?今晚你要用哪一根?</zhTW>
		</Tag>
		<Tag enumID="342" name="ARTISTNAME" type="String">Nutthapon Petchthai</Tag>
		<Tag enumID="48" name="COST" type="Int" value="5"/>
		<Tag enumID="183" name="CARD_SET" type="Int" value="15"/>
		<Tag enumID="199" name="CLASS" type="Int" value="4"/>
		<Tag enumID="202" name="CARDTYPE" type="Int" value="5"/>
		<Tag enumID="203" name="RARITY" type="Int" value="1"/>
		<Tag enumID="321" name="COLLECTIBLE" type="Int" value="1"/>
		<Power definition="7741f56d-95c5-424c-9586-266a51d27290">
			<PlayRequirement param="" reqID="11"/>
			<PlayRequirement param="" reqID="1"/>
		</Power>
	</Entity>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant