Incorrect value for "language" in layout.json for locales "ru" onwards

Description

Run this unix command to view the "language" entry for each locale.

grep "language" main/*/layout.json

Each entry should contain the corresponding language code.

From aa -> root these are correct, and show the language.
From ru -> zu-ZA these are incorrect - every entry is "root".

This excerpt from the "grep" command shows where the problem starts:

main/rn-BI/layout.json: "language": "rn",
main/rn/layout.json: "language": "rn"
main/rof/layout.json: "language": "rof"
main/rof-TZ/layout.json: "language": "rof",
main/ro/layout.json: "language": "ro"
main/ro-MD/layout.json: "language": "ro",
main/root/layout.json: "language": "root"
main/ro-RO/layout.json: "language": "ro",
main/ru-BY/layout.json: "language": "root",
main/ru-KG/layout.json: "language": "root",
main/ru-KZ/layout.json: "language": "root",
main/ru/layout.json: "language": "root"
main/ru-MD/layout.json: "language": "root",
main/ru-RU/layout.json: "language": "root",
main/ru-UA/layout.json: "language": "root",
main/rwk/layout.json: "language": "root"
main/rwk-TZ/layout.json: "language": "root",
main/rw/layout.json: "language": "root"
main/rw-RW/layout.json: "language": "root",
main/sah/layout.json: "language": "root"
main/sah-RU/layout.json: "language": "root",

xpath

main.*.identity.language

locale

ru
->
zu-ZA

Priority

major

Assignee

John Emmons

Reporter

TracBot

Reviewer

Steven R. Loomis

Components

Fix versions