Did you try to rename CA locales files into locale-es-CA ? Or add a file for numeral translations ? (like for esparanto : js/vendor/numeral.eo.js)?
Question : Are you sure to that “CA” = Catalonia ? Why not “CT” ?
You may have right. Let’s do that, but in Cesium V2 (on Duniter v2).
Did you try to rename CA locales files into locale-es-CA ?
That would be the wrong way around, it would be ca-ES (my examples for Belgium where incorrect, too). But, ca-ES does not exist, if you configure Firefox to prefer Catalan, it will also send “ca”.
Or add a file for numeral translations ?
That would be a way, though it would just duplicate what’s within “es” from the lib.
Question : Are you sure to that “CA” = Catalonia ?
Hi fab, that’s great!
I just had a look here: assets/translations/de.json · master · vjrj / ginkgo · GitLab
Is that your work? Looks good, I just noticed that you use “Geldbeutel” for “Wallet”, while for cesium and gchange we used “Brieftasche”. I did go for “Brieftasche”, because that seemed to be more commonly used in the context of other crypto currencies. Other than that one isn’t obviously better than the other, I just think, we should use one of them consistently across applications.
Hi @Lupus,
thank you for your comment. I don’t know the other translations. Yes, it would be good to use the same terms. I will adapt my translation.
But with “Geldbeutel”, you could make a word game with “Ğeldbeutel”
Hi fab, it looks good. In opposition to Lupus, I would prefer “Konto” instead of Brieftasche as translation for wallet. The majority of the junistes have no experience with cryptocurrencies but with normal banking accounts and the german word for such account s ist Konto. To me it always looks strange. In addition to that the translation “Brieftaschen-Konto” for a simple wallet is to my opinion an understandable distinctionto the member wallet simply called Konto. And our experience is, that exactly that is more easyly understood by newbies to the topic.
A suggestion to your word game: Ğonto would be a nice translation for the people from Saxonia ;-).
They only have a hard and a soft G instead of K and G ;-). But the german keyboards are missing the needed accent fot the G, so it is always difficult to write on a PC keyboard.
Isn’t it “Saxony”? Anyways … “Konto” as translation for “Wallet” has the disadvantage, that there are other things that we translated with “Konto”, e.g. “account / compte”, “identities / identités” … it’s hard to make the distinction. Even in the english and french versions, the distinction isn’t always clear.
So … none of the ideas is perfect, so I have no strong oppinion to any of them. I just think whatever is chosen should be as consistently used as possible.
And, if we change the cesium / gchange translation again, it should be done before the 1.7 release.
So, let me understand: we are using a self-created language code (es-CA) because the l10n doesn’t map “ca” with l10n “es”? I think the right way is use “ca-ES” instead of “ca”.
Hi arbocenc, I don’t know, how it became “es-CT”, this is definitely wrong. Your suggestions are better, but also do not choose a correct number format. The localization of numeric values is happening in the “numeral” lib. After running yarn, you’ll find all available codes in lib/numeral/languages. It does not know ca*. I guess the best way to go would be to go back to locale.ca.json and to copy lib/numeral/languages/es.js to www/js/vendor/numeral.ca.js, possibly adapt it and load it from index.html and api/index.html
$ yarn
yarn install v1.22.19
[1/4] Resolving packages...
warning Resolution field "gulp@4.0.2" is incompatible with requested version "gulp@^3.7.0"
warning Resolution field "graceful-fs@4.2.4" is incompatible with requested version "graceful-fs@4.1.15"
[2/4] Fetching packages...
error An unexpected error occurred: "https://nexus.e-is.pro/nexus/content/repositories/npmjs/async-done/-/async-done-1.3.2.tgz: certificate has expired".
info If you think this is a bug, please open a bug report with the information provided in "/magatzem/magatzem_joan/tmp/kk/cesium/cesium/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.