Skip to content

Commit

Permalink
Merge pull request PrestaShop#7828 from AlexEven/localization-packs
Browse files Browse the repository at this point in the history
New localization packs - DZ, KR, MA, ZA
  • Loading branch information
aleeks authored Apr 27, 2017
2 parents e80d5a8 + ae841bf commit 479f7f8
Show file tree
Hide file tree
Showing 4 changed files with 139 additions and 0 deletions.
39 changes: 39 additions & 0 deletions localization/dz.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<?xml version="1.0" encoding="UTF-8" ?>
<localizationPack name="Algeria" version="1.0">
<currencies>
<currency name="Algerian dinar" iso_code="DZD" iso_code_num="012" sign="DZD" blank="1" conversion_rate="1.0000" format="2" decimals="1" />
</currencies>
<languages>
<language iso_code="ar" />
<language iso_code="fr" />
</languages>
<taxes>
<tax id="1" name="TVA DZ 19%" rate="19" />
<tax id="2" name="TVA DZ 14%" rate="14" />
<tax id="3" name="TVA DZ 9%" rate="9" />
<tax id="4" name="TVA DZ 0%" rate="0" />

<taxRulesGroup name="DZ Standard Rate (19%)">
<taxRule iso_code_country="dz" id_tax="1" />
</taxRulesGroup>

<taxRulesGroup name="DZ Reduced Rate (14%)">
<taxRule iso_code_country="dz" id_tax="2" />
</taxRulesGroup>

<taxRulesGroup name="DZ Reduced Rate (9%)">
<taxRule iso_code_country="dz" id_tax="3" />
</taxRulesGroup>

<taxRulesGroup name="DZ Zero Rate (0%)">
<taxRule iso_code_country="dz" id_tax="4" />
</taxRulesGroup>
</taxes>
<units>
<unit type="weight" value="kg"/>
<unit type="volume" value="L"/>
<unit type="short_distance" value="cm"/>
<unit type="base_distance" value="m"/>
<unit type="long_distance" value="km"/>
</units>
</localizationPack>
28 changes: 28 additions & 0 deletions localization/kr.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8" ?>
<localizationPack name="South Korea" version="1.0">
<currencies>
<currency name="South Korean won" iso_code="KRW" iso_code_num="410" sign="" blank="1" conversion_rate="1.0000" format="1" decimals="1" />
</currencies>
<languages>
<language iso_code="ko" />
</languages>
<taxes>
<tax id="1" name="TVA KR 10%" rate="10" />
<tax id="2" name="TVA KR 0%" rate="0" />

<taxRulesGroup name="KR Standard Rate (10%)">
<taxRule iso_code_country="kr" id_tax="1" />
</taxRulesGroup>

<taxRulesGroup name="KR Zero Rate (0%)">
<taxRule iso_code_country="kr" id_tax="2" />
</taxRulesGroup>
</taxes>
<units>
<unit type="weight" value="kg"/>
<unit type="volume" value="L"/>
<unit type="short_distance" value="cm"/>
<unit type="base_distance" value="m"/>
<unit type="long_distance" value="km"/>
</units>
</localizationPack>
44 changes: 44 additions & 0 deletions localization/ma.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<?xml version="1.0" encoding="UTF-8" ?>
<localizationPack name="Morocco" version="1.0">
<currencies>
<currency name="Moroccan dirham" iso_code="MAD" iso_code_num="504" sign="MAD" blank="1" conversion_rate="1.0000" format="2" decimals="1" />
</currencies>
<languages>
<language iso_code="ar" />
<language iso_code="fr" />
</languages>
<taxes>
<tax id="1" name="TVA MA 20%" rate="20" />
<tax id="2" name="TVA MA 14%" rate="14" />
<tax id="3" name="TVA MA 10%" rate="10" />
<tax id="4" name="TVA MA 7%" rate="7" />
<tax id="5" name="TVA MA 0%" rate="0" />

<taxRulesGroup name="MA Standard Rate (20%)">
<taxRule iso_code_country="ma" id_tax="1" />
</taxRulesGroup>

<taxRulesGroup name="MA Reduced Rate (14%)">
<taxRule iso_code_country="ma" id_tax="2" />
</taxRulesGroup>

<taxRulesGroup name="MA Reduced Rate (10%)">
<taxRule iso_code_country="ma" id_tax="3" />
</taxRulesGroup>

<taxRulesGroup name="MA Reduced Rate (10%)">
<taxRule iso_code_country="ma" id_tax="4" />
</taxRulesGroup>

<taxRulesGroup name="MA Zero Rate (0%)">
<taxRule iso_code_country="ma" id_tax="5" />
</taxRulesGroup>
</taxes>
<units>
<unit type="weight" value="kg"/>
<unit type="volume" value="L"/>
<unit type="short_distance" value="cm"/>
<unit type="base_distance" value="m"/>
<unit type="long_distance" value="km"/>
</units>
</localizationPack>
28 changes: 28 additions & 0 deletions localization/za.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8" ?>
<localizationPack name="South Africa" version="1.0">
<currencies>
<currency name="South African rand" iso_code="ZAR" iso_code_num="710" sign="R" blank="1" conversion_rate="1.0000" format="1" decimals="1" />
</currencies>
<languages>
<language iso_code="en" />
</languages>
<taxes>
<tax id="1" name="TVA ZA 14%" rate="14" />
<tax id="2" name="TVA ZA 0%" rate="0" />

<taxRulesGroup name="ZA Standard Rate (14%)">
<taxRule iso_code_country="za" id_tax="1" />
</taxRulesGroup>

<taxRulesGroup name="ZA Zero Rate (0%)">
<taxRule iso_code_country="za" id_tax="2" />
</taxRulesGroup>
</taxes>
<units>
<unit type="weight" value="kg"/>
<unit type="volume" value="L"/>
<unit type="short_distance" value="cm"/>
<unit type="base_distance" value="m"/>
<unit type="long_distance" value="km"/>
</units>
</localizationPack>

0 comments on commit 479f7f8

Please sign in to comment.