Class LocalizationUtils
A class that provides utility methods for localization.
Inherited Members
Namespace: Unity.AppUI.Core
Assembly: Unity.AppUI.dll
Syntax
public static class LocalizationUtils
Methods
TryGetTableAndEntry(string, out string, out string)
Try to get the table and string reference from a reference text.
The naming convention is @table:tableEntry
.
Declaration
public static bool TryGetTableAndEntry(string referenceText, out string table, out string tableEntry)
Parameters
Type | Name | Description |
---|---|---|
string | referenceText | The reference text to parse. |
string | table | The table name. |
string | tableEntry | The table entry reference. |
Returns
Type | Description |
---|---|
bool | True if the reference text is valid. |