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

House numbers according to DIN 5008 #892

Open
wants to merge 1 commit into
base: 2.0
Choose a base branch
from

Conversation

mbraun81
Copy link

House numbers according to DIN 5008
Some of the house numbers for Germany created using Faker do not comply with DIN 5008:

According to DIN 5008, you insert a space before the house number after a street name.
If the house number is followed by a letter, this is again separated by a space.
Compound house numbers are written with the "to" character (10 - 25) or the slash.
Insert an apartment number after the house number and separate it with two slashes and a space.

Examples:
Berliner Ring 27
Hindenburgdamm 19 a
Hochstraße 56/58
Hochstraße 56 - 58
Züricher Strasse 17// 28

URL: https://www.dashoefer.de/newsletter/artikel/hausnummern_nach_der_din_5008.html

House numbers according to DIN 5008
Some of the house numbers for Germany created using Faker do not comply with DIN 5008:

    According to DIN 5008, you insert a space before the house number after a street name.
    If the house number is followed by a letter, this is again separated by a space.
    Compound house numbers are written with the "to" character (10 - 25) or the slash.
    Insert an apartment number after the house number and separate it with two slashes and a space.
Examples:
    Berliner Ring 27
    Hindenburgdamm 19 a
    Hochstraße 56/58
    Hochstraße 56 - 58
    Züricher Strasse 17// 28

URL: https://www.sekada.de/din-5008/din-lexikon-a-z/artikel/din-5008-schriftsatzregeln-fuer-daten-zeiten-hausnummern-und-co/

Translated with DeepL.com (free version)
@pimjansen
Copy link

Please add valid tests so it stays correct in the future

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants