Add header & page information for translators

Description

We show //item// information in the info panel. There are many cases where it would be useful to have similar information for the higher levels.

For example, take http://cldr-smoke.unicode.org/smoketest/v#/de/Keys/641a8b6db7be7147 . On that page, it would be useful to be able to have:

1. a description for each header (*Calendar*, Collation, ...)
2. a description for the page (German / Locale Display Names / *Keys*)

We already have item info:

The name of “buddhist calendar”. For more information, please see http://cldr.org/translation/key-names.

This comes from PathDescription.txt

//ldml/localeDisplayNames/types/type[@key="collation"][@type="(

*)"] ; The name of “{1} collation” (sorting order). For more information, please see http://cldr.org/translation/key-names.

NOTE the section, page, and header info comes from PathHeader.txt, eg

!//ldml/localeDisplayNames/types/type[@key="%A"][@type="%A"] ; Locale Display Names ; Keys ; *&categoryFromKey($1) ; $1-$2

====Possible data format====

PathHeaderDescription.txt

  1. page level
    Locale Display Names / Keys ; UI Labels for various systems, such as a type of Calendar or a type of Sort Order

  1. header level
    Locale Display Names / Keys / (.*) ; UI Labels for types of {0}s

The key would be a regex expression, with the section, page, header allowing wildcards. (For readability, also spaces).

====Possible expression on page====

1. Hover
When you hover above the page at the top or above the header, you see either a popup or text in the info panel.

2. Inline
For the header, you see the info in the row used by the header.
For the page, you see the info in a box above the info panel (to the right of the Page name)

3. Info panel
When you click on the page (or first go to the page, you see an info panel for the whole page.
When you click on the header, you see its info in the info panel.

Maybe for the page, we could show also the info when the user first goes to the page, eg http://cldr-smoke.unicode.org/smoketest/v#/de/Languages_A_D/?

xpath

None

locale

None

Status

Priority

TBD

Assignee

Thomas Bishop

Reporter

Mark Davis

tracReporter

mark

Reviewer

None

Labels

Components

Fix versions

None

phase

dsub
Configure