Skip to content

Commit 19b7a74

Browse files
committed
Added localization
1 parent e7567d2 commit 19b7a74

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+517
-14
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<LanguageData xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
3+
xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/BUTR/Bannerlord.XmlSchemas/master/ModuleLanguageData.xsd"
4+
5+
id="Português (BR)"
6+
name="Português (BR)"
7+
subtitle_extension="pt"
8+
supported_iso="pt,por,pt-pt,pt-br"
9+
under_development="false">
10+
11+
<LanguageFile xml_path="sta_strings.xml" />
12+
</LanguageData>
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<base xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
3+
xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/BUTR/Bannerlord.XmlSchemas/master/ModuleLanguage.xsd" >
4+
<tags>
5+
<tag language="Português (BR)" />
6+
</tags>
7+
<strings>
8+
<string id="AbCdEfGhIj" text="Texto de amostra" />
9+
</strings>
10+
</base>
Binary file not shown.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<base xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
3+
xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/BUTR/Bannerlord.XmlSchemas/master/ModuleLanguage.xsd" >
4+
<tags>
5+
<tag language="简体中文" />
6+
</tags>
7+
<strings>
8+
<string id="AbCdEfGhIj" text="示例文本" />
9+
</strings>
10+
</base>
Binary file not shown.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<base xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
3+
xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/BUTR/Bannerlord.XmlSchemas/master/ModuleLanguage.xsd" >
4+
<tags>
5+
<tag language="繁體中文" />
6+
</tags>
7+
<strings>
8+
<string id="AbCdEfGhIj" text="示例文本" />
9+
</strings>
10+
</base>
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<LanguageData xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
3+
xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/BUTR/Bannerlord.XmlSchemas/master/ModuleLanguageData.xsd"
4+
5+
id="Deutsch"
6+
name="Deutsch"
7+
subtitle_extension="de"
8+
supported_iso="de,deu,ger,de-de,de-at,de-li,de-lu,de-ch"
9+
under_development="false">
10+
11+
<LanguageFile xml_path="sta_strings.xml" />
12+
</LanguageData>
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<base xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
3+
xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/BUTR/Bannerlord.XmlSchemas/master/ModuleLanguage.xsd" >
4+
<tags>
5+
<tag language="Deutsch" />
6+
</tags>
7+
<strings>
8+
<string id="AbCdEfGhIj" text="Beispieltext" />
9+
</strings>
10+
</base>
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<LanguageData xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
3+
xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/BUTR/Bannerlord.XmlSchemas/master/ModuleLanguageData.xsd"
4+
5+
id="English"
6+
name="English"
7+
subtitle_extension="en-GB"
8+
supported_iso="en-GB,en-US,en,eng,en-us,en-gb,en-au,en-bz,en-ca,en-ie,en-jm,en-nz,en-za,en-tt"
9+
under_development="false">
10+
11+
<LanguageFile xml_path="sta_strings.xml" />
12+
</LanguageData>
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<base xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
3+
xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/BUTR/Bannerlord.XmlSchemas/master/ModuleLanguage.xsd" >
4+
<tags>
5+
<tag language="English" />
6+
</tags>
7+
<strings>
8+
<string id="AbCdEfGhIj" text="Sample text" />
9+
</strings>
10+
</base>
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<LanguageData xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
3+
xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/BUTR/Bannerlord.XmlSchemas/master/ModuleLanguageData.xsd"
4+
5+
id="Français"
6+
name="Français"
7+
subtitle_extension="fr"
8+
supported_iso="fr,fra,fr-fr,fr-be,fr-ca,fr-ch"
9+
under_development="false">
10+
11+
<LanguageFile xml_path="sta_strings.xml" />
12+
</LanguageData>
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<base xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
3+
xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/BUTR/Bannerlord.XmlSchemas/master/ModuleLanguage.xsd" >
4+
<tags>
5+
<tag language="Français" />
6+
</tags>
7+
<strings>
8+
<string id="AbCdEfGhIj" text="Exemple de texte" />
9+
</strings>
10+
</base>
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<LanguageData xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
3+
xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/BUTR/Bannerlord.XmlSchemas/master/ModuleLanguageData.xsd"
4+
5+
id="Italiano"
6+
name="Italiano"
7+
subtitle_extension="it"
8+
supported_iso="it,ita,it-it,it-ch"
9+
under_development="false">
10+
11+
<LanguageFile xml_path="sta_strings.xml" />
12+
</LanguageData>
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<base xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
3+
xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/BUTR/Bannerlord.XmlSchemas/master/ModuleLanguage.xsd" >
4+
<tags>
5+
<tag language="Italiano" />
6+
</tags>
7+
<strings>
8+
<string id="AbCdEfGhIj" text="Testo di esempio" />
9+
</strings>
10+
</base>
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<LanguageData xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
3+
xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/BUTR/Bannerlord.XmlSchemas/master/ModuleLanguageData.xsd"
4+
5+
id="日本語"
6+
name="日本語"
7+
subtitle_extension="jp"
8+
supported_iso="ja,jpn,ja-ja,ja-jp,jp-jp"
9+
under_development="false">
10+
11+
<LanguageFile xml_path="sta_strings.xml" />
12+
</LanguageData>
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<base xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
3+
xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/BUTR/Bannerlord.XmlSchemas/master/ModuleLanguage.xsd" >
4+
<tags>
5+
<tag language="日本語" />
6+
</tags>
7+
<strings>
8+
<string id="AbCdEfGhIj" text="サンプルテキスト" />
9+
</strings>
10+
</base>
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<LanguageData xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
3+
xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/BUTR/Bannerlord.XmlSchemas/master/ModuleLanguageData.xsd"
4+
5+
id="한국어"
6+
name="한국어"
7+
subtitle_extension="ko"
8+
supported_iso="ko-kr,ko,kor,kr-kr"
9+
under_development="false">
10+
11+
<LanguageFile xml_path="sta_strings.xml" />
12+
</LanguageData>
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<base xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
3+
xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/BUTR/Bannerlord.XmlSchemas/master/ModuleLanguage.xsd" >
4+
<tags>
5+
<tag language="한국어" />
6+
</tags>
7+
<strings>
8+
<string id="AbCdEfGhIj" text="샘플 텍스트" />
9+
</strings>
10+
</base>
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<LanguageData xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
3+
xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/BUTR/Bannerlord.XmlSchemas/master/ModuleLanguageData.xsd"
4+
5+
id="Polski"
6+
name="Polski"
7+
subtitle_extension="pl"
8+
supported_iso="pl,pol,pl-pl"
9+
under_development="false">
10+
11+
<LanguageFile xml_path="sta_strings.xml" />
12+
</LanguageData>
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<base xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
3+
xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/BUTR/Bannerlord.XmlSchemas/master/ModuleLanguage.xsd" >
4+
<tags>
5+
<tag language="Polski" />
6+
</tags>
7+
<strings>
8+
<string id="AbCdEfGhIj" text="Przykładowy tekst" />
9+
</strings>
10+
</base>
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<LanguageData xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
3+
xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/BUTR/Bannerlord.XmlSchemas/master/ModuleLanguageData.xsd"
4+
5+
id="Русский"
6+
name="Русский"
7+
subtitle_extension="ru"
8+
supported_iso="ru,rus,ru-ru,ru-md"
9+
under_development="false">
10+
11+
<LanguageFile xml_path="sta_strings.xml" />
12+
</LanguageData>
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<base xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
3+
xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/BUTR/Bannerlord.XmlSchemas/master/ModuleLanguage.xsd" >
4+
<tags>
5+
<tag language="Русский" />
6+
</tags>
7+
<strings>
8+
<string id="AbCdEfGhIj" text="Пример текста" />
9+
</strings>
10+
</base>
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<LanguageData xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
3+
xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/BUTR/Bannerlord.XmlSchemas/master/ModuleLanguageData.xsd"
4+
5+
id="Español (LA)"
6+
name="Español (LA)"
7+
subtitle_extension="es"
8+
supported_iso="es,spa,es-es,es-ve,es-uy,es-ar,es-bo,es-cl,es-co,es-cr,es-do,es-ec,es-sv,es-gt,es-hn,es-mx,es-ni,es-pa,es-py,es-pe,es-pr"
9+
under_development="false">
10+
11+
<LanguageFile xml_path="sta_strings.xml" />
12+
</LanguageData>
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<base xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
3+
xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/BUTR/Bannerlord.XmlSchemas/master/ModuleLanguage.xsd" >
4+
<tags>
5+
<tag language="Español (LA)" />
6+
</tags>
7+
<strings>
8+
<string id="AbCdEfGhIj" text="Texto de ejemplo" />
9+
</strings>
10+
</base>
Binary file not shown.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<base xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
3+
xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/BUTR/Bannerlord.XmlSchemas/master/ModuleLanguage.xsd" >
4+
<tags>
5+
<tag language="Türkçe" />
6+
</tags>
7+
<strings>
8+
<string id="AbCdEfGhIj" text="Örnek yazı" />
9+
</strings>
10+
</base>

src/Bannerlord.Module.CSharp/_Module/SubModule.xml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<Module>
3-
<Name value="$modulename$" />
2+
<Module xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
3+
xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/BUTR/Bannerlord.XmlSchemas/master/SubModule.xsd" >
44
<Id value="$modulename$" />
5+
<Name value="$modulename$" />
56
<Version value="v$version$" />
67
<Official value="false" />
78
<DefaultModule value="false" />
@@ -46,10 +47,11 @@
4647
---#endif
4748
<DependedModuleMetadata id="Native" order="LoadAfterThis" />
4849
<DependedModuleMetadata id="SandBoxCore" order="LoadAfterThis" />
49-
<DependedModuleMetadata id="Sandbox" />
50+
<DependedModuleMetadata id="Sandbox" order="LoadAfterThis" />
5051
<DependedModuleMetadata id="StoryMode" order="LoadAfterThis" />
5152
<DependedModuleMetadata id="CustomBattle" order="LoadAfterThis" />
5253
</DependedModuleMetadatas>
54+
<!-- Community Dependency Metadata -->
5355
<SubModules>
5456
<SubModule>
5557
<Name value="$modulename$" />
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<LanguageData xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
3+
xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/BUTR/Bannerlord.XmlSchemas/master/ModuleLanguageData.xsd"
4+
5+
id="Português (BR)"
6+
name="Português (BR)"
7+
subtitle_extension="pt"
8+
supported_iso="pt,por,pt-pt,pt-br"
9+
under_development="false">
10+
11+
<LanguageFile xml_path="sta_strings.xml" />
12+
</LanguageData>
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<base xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
3+
xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/BUTR/Bannerlord.XmlSchemas/master/ModuleLanguage.xsd" >
4+
<tags>
5+
<tag language="Português (BR)" />
6+
</tags>
7+
<strings>
8+
<string id="AbCdEfGhIj" text="Texto de amostra" />
9+
</strings>
10+
</base>
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<base xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
3+
xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/BUTR/Bannerlord.XmlSchemas/master/ModuleLanguage.xsd" >
4+
<tags>
5+
<tag language="简体中文" />
6+
</tags>
7+
<strings>
8+
<string id="AbCdEfGhIj" text="示例文本" />
9+
</strings>
10+
</base>
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<base xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
3+
xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/BUTR/Bannerlord.XmlSchemas/master/ModuleLanguage.xsd" >
4+
<tags>
5+
<tag language="繁體中文" />
6+
</tags>
7+
<strings>
8+
<string id="AbCdEfGhIj" text="示例文本" />
9+
</strings>
10+
</base>
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<LanguageData xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
3+
xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/BUTR/Bannerlord.XmlSchemas/master/ModuleLanguageData.xsd"
4+
5+
id="Deutsch"
6+
name="Deutsch"
7+
subtitle_extension="de"
8+
supported_iso="de,deu,ger,de-de,de-at,de-li,de-lu,de-ch"
9+
under_development="false">
10+
11+
<LanguageFile xml_path="sta_strings.xml" />
12+
</LanguageData>
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<base xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
3+
xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/BUTR/Bannerlord.XmlSchemas/master/ModuleLanguage.xsd" >
4+
<tags>
5+
<tag language="Deutsch" />
6+
</tags>
7+
<strings>
8+
<string id="AbCdEfGhIj" text="Beispieltext" />
9+
</strings>
10+
</base>

0 commit comments

Comments
 (0)