# Translation class

Namespace: [Grasshopper2.Localisation](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.localisation.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public static class Translation
```

Static class which provides some cached translation methods for English -> Other.

## Properties

- [SupportedLanguages](https://developer.rhino3d.com/api/gh2/type/grasshopper2.localisation.translation/supportedlanguages.md): (static) Iterate over all supported languages, including English.

## Methods

- [Hash](https://developer.rhino3d.com/api/gh2/type/grasshopper2.localisation.translation/hash.md): (static) Hash a string to a 128 bit hash.
- [LanguageCode](https://developer.rhino3d.com/api/gh2/type/grasshopper2.localisation.translation/languagecode.md): (static)
- [LanguageEnglishName](https://developer.rhino3d.com/api/gh2/type/grasshopper2.localisation.translation/languageenglishname.md): (static)
- [LanguageNativeName](https://developer.rhino3d.com/api/gh2/type/grasshopper2.localisation.translation/languagenativename.md): (static)
- [Translate](https://developer.rhino3d.com/api/gh2/type/grasshopper2.localisation.translation/translate.md): (static) Low level translation function accepting a target language code. This method will return synchronously if the translation has already been cached.
- [TranslateAndAssign](https://developer.rhino3d.com/api/gh2/type/grasshopper2.localisation.translation/translateandassign.md): (static) Translate and assign a string. Typically you'd use this method from the UI thread and throw away the tasks it returns.
