-
Notifications
You must be signed in to change notification settings - Fork 35
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
Rename language name in the LanguageSelector #116
Labels
Comments
yassinedoghri
pushed a commit
that referenced
this issue
Feb 26, 2023
# [1.0.0-beta.18](v1.0.0-beta.17...v1.0.0-beta.18) (2023-02-26) ### Bug Fixes * handle localizePath trailing slash depending on astro's trailingSlash config ([880666c](880666c)), closes [#119](#119) ### Features * **language-selector:** add languageMapping prop to rename languages of choice ([20d94e4](20d94e4)), closes [#116](#116)
🎉 This issue has been resolved in version 1.0.0-beta.18 🎉 The release is available on: Your semantic-release bot 📦🚀 |
@JohnUW42 I've added a prop to You may change "latviešu valoda" to what I'm guessing is "latviešu" like so: <LanguageSelector
showFlag={true}
languageMapping={{ lv: "latviešu" }}
class="my-select-class"
/> |
AliLee0923
pushed a commit
to AliLee0923/astro-i18N
that referenced
this issue
Dec 2, 2023
# [1.0.0-beta.18](yassinedoghri/astro-i18next@v1.0.0-beta.17...v1.0.0-beta.18) (2023-02-26) ### Bug Fixes * handle localizePath trailing slash depending on astro's trailingSlash config ([880666c](yassinedoghri/astro-i18next@880666c)), closes [#119](yassinedoghri/astro-i18next#119) ### Features * **language-selector:** add languageMapping prop to rename languages of choice ([20d94e4](yassinedoghri/astro-i18next@20d94e4)), closes [#116](yassinedoghri/astro-i18next#116)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi!
Would you please add a possibility to rename a language name in the LanguageSelector, or something to that effect.
For example, on the attached screenshot, the default name for the LV language is excessively long — it says "latvian language", instead of just "latvian", and in all small caps. I want to change that.
Thank you!
The text was updated successfully, but these errors were encountered: