Translation
Static class which provides some cached translation methods for English -> Other.
Properties
Methods
Translate
#Low level translation function accepting a target language code. This method will return synchronously if the translation has already been cached.
TranslateAndAssign
#Translate and assign a string. Typically you'd use this method from the UI thread and throw away the tasks it returns.
Parameters:
| english (string) | English string. |
| targetLanguage (Language) | Target language. |
| assignment (Action<string>) | Assigment delegate. This delegate will be invoked on the UI thread, but only if the settings UI language still equals the targetLanguage. |
Returns: True if assignment was made, but this method was designed to be fire-and-forget.