Show / Hide Table of Contents

Method TryTranslate

| Edit this page View Source

TryTranslate(string)

Retrieve a translation if it's found in any CustomLocalization or Localization.Translate.
Declaration
public string TryTranslate(string word)
Parameters
Type Name Description
string word Word to translate.
Returns
Type Description
string Translated word in player language or english as a fallback.
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾