Add i18n support across the catalog and map layers - #7865
Open
arte-dev wants to merge 1 commit into
Open
Conversation
- Query GeoServer using the user's selected language to load i18n layer
info and legends.
- Translate translate#-prefixed strings found in the catalog JSON when
rendering the catalog UI.
- Improve WMS language handling, attempting to serve languages by:
1. the user's language, 2. the fallback language, 3. any other
available.
- Add i18n support to the titles and descriptions of data catalog items
shown in the right-hand preview panel.
- Translate catalog names in getPath using a reactive i18n instance.
- Improve handling of server exceptions, specifically
ServiceExceptionReport, to surface the concrete error (e.g. when
adding data from a URL with AcceptLanguages against a server that does
not support i18n).
- Retry requests without the AcceptLanguages parameter when the server
fails to serve a request that includes it.
- Fix invalid <p> nesting in FeedbackLinkCustomComponent: since
FeedbackLink renders inside a markdown-generated <p>, calling
parseCustomMarkdownToReact added another <p>. Use { inline: true } so
md.renderInline emits only inline elements.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this PR does
A) the user's language, B) the fallback language, C) any other available.
<p>nesting in FeedbackLinkCustomComponent: since FeedbackLink renders inside a markdown-generated<p>, calling parseCustomMarkdownToReact added another<p>. Use { inline: true } so md.renderInline emits only inline elements.Checklist
doc/.