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

Fallback received city names to latin #25

Merged
merged 2 commits into from
Aug 12, 2023
Merged

Fallback received city names to latin #25

merged 2 commits into from
Aug 12, 2023

Conversation

krisukox
Copy link
Owner

@krisukox krisukox commented Aug 12, 2023

This PR enables you to pass latin letters for city names that do not contain only latin letters.
e.g.:
All the following AbbrCity calls will successfully receive the abbreviated "Łódź" city name.

session.AbbrCity(context.Background(), "Łódź", language.English)
session.AbbrCity(context.Background(), "łódź", language.English)
session.AbbrCity(context.Background(), "lodz", language.English)

@krisukox krisukox merged commit 13d62a3 into main Aug 12, 2023
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.

1 participant