diff --git a/conf/countries/worldwide.yaml b/conf/countries/worldwide.yaml index 8ea5561..2c9cad5 100644 --- a/conf/countries/worldwide.yaml +++ b/conf/countries/worldwide.yaml @@ -701,7 +701,7 @@ DE: {{{house}}} {{#first}} {{{road}}} || {{{place}}} || {{{hamlet}}} {{/first}} {{{house_number}}} {{#first}} {{{suburb}}} || {{{city_district}}} || {{{neighbourhood}}} {{/first}} - {{#first}} {{{town}}} || {{{city}}} || {{{village}}} || {{{hamlet}}} || {{{municipality}}} || {{{county}}} {{/first}} + {{#first}} {{{village}}} || {{{town}}} || {{{city}}} || {{{hamlet}}} || {{{municipality}}} || {{{county}}} {{/first}} {{#first}} {{{state}}} || {{{state_district}}} {{/first}} {{{country}}} diff --git a/testcases/countries/de.yaml b/testcases/countries/de.yaml index 0810542..e027d9c 100644 --- a/testcases/countries/de.yaml +++ b/testcases/countries/de.yaml @@ -292,3 +292,19 @@ components: expected: | 01744 Oberhäslich Germany +--- +# +description: village and town (fallback) +components: + country: Germany + country_code: de + county: Landkreis Schwäbisch Hall + municipality: Verwaltungsgemeinschaft Schwäbisch Hall + state: Baden-Württemberg + state_code: BW + town: Schwäbisch Hall + village: Tüngental +expected: | + Tüngental + Baden-Württemberg + Germany