Skip to content

Parameter 'zip_code' not found in 'ADDRESS' category for 'fr' locale #138

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

Closed
serpro69 opened this issue May 27, 2022 · 3 comments
Closed
Labels
bug 🐞 Something isn't working core 🧬 Issue related to :core module good first issue 🔰 Good for newcomers
Milestone

Comments

@serpro69
Copy link
Owner

- "#{street_address}, #{zip_code} #{city}"
- "#{secondary_address}, #{street_address}, #{zip_code} #{city}"

@serpro69 serpro69 added bug 🐞 Something isn't working good first issue 🔰 Good for newcomers core 🧬 Issue related to :core module labels May 27, 2022
@serpro69 serpro69 added this to the 1.12.0 milestone May 27, 2022
@dariabajda
Copy link

dariabajda commented Jul 11, 2022

That's a pity the issue is not described. :)
Is it the same one that causes Parameter 'street_prefix' not found in 'address' category error for Polish locale?

I've approached it when using:

val faker = Faker(fakerConfig { locale = "pl" })
faker.address.streetAddress()

PL locale:
https://github.com/serpro69/kotlin-faker/blob/master/core/src/main/resources/locales/pl.yml#L17

@serpro69
Copy link
Owner Author

serpro69 commented Jul 11, 2022

Hi @dariabajda ,

It could be similar, yes, but I'm not really sure how you're getting that error because street_prefix is there in the pl.yml file:

street_prefix: ['ul.', 'al.']

Can you please open a separate issue for this and mention the version that you're using. Thanks.


UPD: I could reproduce it with 1.11.0, but not with master . I'll make an RC version for 1.12.0 where this is fixed.

UPD: I've release 1.12.0-rc.0 with the issue that you mention for pl locale fixed. Please open a new issue if you find any other bugs. Thanks :)

@dariabajda
Copy link

Polish street name & address work like a charm in 1.12.0-rc.0, thanks a lot! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐞 Something isn't working core 🧬 Issue related to :core module good first issue 🔰 Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants