-
Notifications
You must be signed in to change notification settings - Fork 69
Open
Labels
requestNew feature or requestNew feature or request
Description
What should we change and why?
In the settings menu we display the "Document Language" and "Application Language". It's not clear what the "Document Language" term refers to.
There are actually three separate language concepts in the viewer:
- The language of the HTML content in the report:
- This refers to the lang attribute in the XBRL inline report, which can be undefined. Some users think this is what "Document Language" refers to.
- The language of taxonomy details (e.g., labels in the inspector panel):
- This depends on the languages supported by the XBRL taxonomy. In the menu, this is what's currently labeled as "Document Language."
- The language of the application's user interface:
- This includes elements like the "Untagged Numbers" checkbox. It's consistent across all viewers and depends on the languages we've translated the app into (currently English, Welsh, and Spanish).
To reduce confusion, I suggest we clarify all three in a languages section of the menu with tooltips explaining their purpose. Here's how it could look:
- Document Language:
- Show the actual language of the report document (if defined by the lang attribute). This is informational only and cannot be changed by the user.
- Taxonomy Language:
- List the available taxonomy languages, allowing users to select one. The default would follow this priority:
- A saved taxonomy language from local storage (if the user has selected one in the past).
- The browser language.
- The document language.
- English (as a fallback).
- Any other available language (as a last resort).
- List the available taxonomy languages, allowing users to select one. The default would follow this priority:
- Application Language:
- List the available UI languages, also user-selectable. The default would follow this priority:
- A saved UI language from local storage (if the user has selected one in the past).
- The browser language.
- English (default fallback).
- List the available UI languages, also user-selectable. The default would follow this priority:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
requestNew feature or requestNew feature or request