Open xaur opened 8 months ago
Yep. We would need to change title
in wallets.yml
to match a key in en.json
. For example...
wallets.yml
links:
- string_id: cryptopower-release
url: https://github.com/crypto-power/cryptopower/releases/tag/release-v1.0.0
- string_id: cryptopower-website
url: https://cryptopower.dev
en.json
"cryptopower-release" "Download and release notes",
"cryptopower-website": "Website",
Currently link labels at https://decred.org/wallets/ are hardcoded in the wallets.yml file and cannot be translated, e.g. see https://decred.org/zh/wallets/
An idea how it could work is change
wallets.yml
to reference label keys fromtransifex_catalogs/en.json
and move English strings to the latter.wallets.yml
would change from:to
and
en.json
would gain keys like:@jholdstock is this feasible in Hugo?