bbepis / XUnity.AutoTranslator

MIT License
1.9k stars 289 forks source link

how to translate all texts #190

Open icls1337 opened 3 years ago

icls1337 commented 3 years ago

Instead of real-time translation

gravydevsupreme commented 3 years ago

Can't be done.

Unlike a lot of small-time game engines often used by small game makers such as RPG Maker, Kirikiri, and what-have-you, the Unity Engine, being a more general-purpose game engine does not come with a pre-defined format for resources. Such resources can be structured in all sorts of different ways that is impossible to support without implementing specific support.

On the other hand, what the Unity Engine does provide is a more general-purpose way of displaying text, and that is what this plugin takes advantage of. By knowing what components are used for showing text to the user it is able to hook into these components and change the text as it is shown.