rhtyd opened a new pull request #368: URL: https://github.com/apache/cloudstack-primate/pull/368
This: - Changes migration keys in primate to use the `label.` prefix, and use lowercase keys - Migrates all possible translations from legacy UI to Primate using key/value similarities - Commit history of this branch can be used for audit - Example commits on changing the keys in code (config+components, grep usage of `$t(...`), title, name, and placeholder fields) The `src/locales/remove-after-tr-migration` has a list of files that can be checked for key renames/mappings and list of new keys that were introduced in Primate (the translation of which are not available in other languages). Migration log for reference: ``` Total locale keys in CS 2470 Total locale keys in Primate 1208 Total CS keys to be skipped while migration 1067 Total translation keys found from legacy to Primate 1124 Total translation keys after migration 2606 Migrating language: ar Keys found 2293 Total lang keys translated are: 2359 Migrating language: de_DE Keys found 2296 Total lang keys translated are: 2362 Migrating language: es Keys found 2294 Total lang keys translated are: 2360 Migrating language: hu Keys found 2293 Total lang keys translated are: 2359 Migrating language: ja_JP Keys found 2297 Total lang keys translated are: 2363 Migrating language: nb_NO Keys found 2293 Total lang keys translated are: 2359 Migrating language: pl Keys found 2293 Total lang keys translated are: 2359 Migrating language: ru_RU Keys found 2293 Total lang keys translated are: 2359 Migrating language: ca Keys found 2293 Total lang keys translated are: 2359 Migrating language: fr_FR Keys found 2295 Total lang keys translated are: 2361 Migrating language: it_IT Keys found 2293 Total lang keys translated are: 2359 Migrating language: ko_KR Keys found 2293 Total lang keys translated are: 2359 Migrating language: nl_NL Keys found 2293 Total lang keys translated are: 2359 Migrating language: pt_BR Keys found 2293 Total lang keys translated are: 2359 Migrating language: zh_CN Keys found 2297 Total lang keys translated are: 2363 ``` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org