- Notifications
You must be signed in to change notification settings - Fork402
-
How can we add translations for an other language? Currently en-US and ru-RU seems to be defined, but how can we extend the library with our own language that does not exist in the library yet? I assume we can define some json, and then load this to the library as well? What would be the right procedure? |
BetaWas this translation helpful?Give feedback.
All reactions
Replies: 1 comment 1 reply
-
Hi, you can simply add a new localization object to a unit's Here is Chinese ( This will have to be done for each unit you want to translate. The fallback is always en-US. Then run |
BetaWas this translation helpful?Give feedback.
All reactions
-
Oh, and in some cases you may have to also specify Example: UnitsNet/Common/UnitDefinitions/Energy.json Lines 141 to 152 in9574d47
|
BetaWas this translation helpful?Give feedback.