The open source repository for Cake Wallet, a noncustodial multi-currency wallet, and Monero.com, a noncustodial Monero-only wallet. Need help? Check out https://guides.cakewallet.com
MIT License
Cake Wallet is an open source, non-custodial, and private multi-currency crypto wallet for Android, iOS, macOS, and Linux.
Cake Wallet includes support for several cryptocurrencies, including:
Exchanging to/from other assets is also supported.
We have 24/7 free support. Please contact [email protected]
We have excellent user guides, which are also open-source and open for contributions: https://guides.cakewallet.com
More instructions to follow
For instructions on how to build for Android: please view file howto-build-android.md
Edit the applicable strings_XX.arb
file in res/values/
and open a pull request with the changes.
Create a new strings_XX.arb
file in res/values/
, replacing XX with the language's ISO 639-1 code.
Edit the strings in this file, replacing XXX below with the translation for each string.
"welcome": "Welcome to",
-> "welcome": "XXX",
"time" : "${minutes}m ${seconds}s"
The only parts to be translated, if needed, are the values m and s after the variables.
Add the language to lib/entities/language_service.dart
under both supportedLocales
and localeCountryCode
. Use the name of the language in the local language and in English in parentheses after for supportedLocales
. Use the ISO 3166-1 alpha-3 code for localeCountryCode
. You must choose one country, so choose the country with the most native speakers of this language or is otherwise best associated with this language.
Add a relevant flag to assets/images/flags/XXXX.png
, replacing XXXX with the 3 letters localeCountryCode. The image must be 42x26 pixels with a 3 pixels of transparent margin on all 4 sides. You can resize the flag with paint.net to 36x20 pixels, expand the canvas to 42x26 pixels with the flag anchored in the middle, and then manually delete the 3 pixels on each side to make transparent. Or you can use another program like Photoshop.
Add the new language code to tool/utils/translation/translation_constants.dart
Check with Cake Wallet support to see if the desired new fiat currency is available through our fiat API. Not all fiat currencies are.
If the currency is associated strongly with a specific issuing country, map the ISO 4217 currency code with the applicable ISO 3166-1 alpha-3 code in lib/entities/fiat_currency.dart
. If the currency is used in a whole region or organization, then map with a reasonable interpretation of this (eg: eur countryCode for EUR symbol).
Add the raw mapping underneath in lib/entities/fiat_currency.dart
following the same format as the others.
Add a flag of the issuing country or organization to assets/images/flags/XXXX.png
, replacing XXXX with the ISO 3166-1 alpha-3 code used above (eg: usa.png
, eur.png
). Do not add this if the flag with the same name already exists. The image must be 42x26 pixels with a 3 pixels of transparent margin on all 4 sides.
Copyright (C) 2018-2023 Cake Labs LLC