Closed BattlehubCode closed 2 years ago
Yes it is possible
find and duplicate resource files (*en-US.xml)
move duplicates to Resources folder
replace en-US with other locale id
edit resource files
use following script to set locale
using Battlehub;
using Battlehub.RTCommon;
using Battlehub.RTEditor;
using UnityEngine;
[DefaultExecutionOrder(-90)]
public class SetLocale : EditorExtension
{
protected override void OnInit()
{
base.OnInit();
ILocalization localization = IOC.Resolve
For example, I'd like the text in the inspector to be in a certain language