• Hi Guest!

    Please be aware that we have released another critical security patch for VaM. We strongly recommend updating to version 1.22.0.12 using the VaM_Updater found in your installation folder.

    Details about the security patch can be found here.
Small plugin that can save/load localized text for scene UI elements.



It's a bit of a proof of concept and doesn't have a ton of features. If creators find this useful, I'll look at expanding the feature set to e.g. voice commands and integration with other plugins.

How-To
  1. Add this plugin anywhere in your scene, either as a scene plugin or on any atom
  2. Save your scene. Changing the name later will require manually adjusting the json files' location.
  3. Set up your default UI texts
  4. Use the plugin's UI to save texts to a [locale].json file (e.g. "en-US.json", "zh-HK.json" or "ja-JP.json")
  5. Either repeat steps 3 & 4 for additional locales or edit and save the json files directly ("/Saves/PluginData/TBD/i18n/[your scene name]/[locale].json")
  6. (Optional) You could add UI buttons to load different locales. The plugin comes with a "locale" trigger,.
  7. (Optional) If you want to package your scene as a var, simply include the "/Saves/PluginData/TBD/i18n/[your scene name]" folder.
Author
TBD
Downloads
1,916
Views
5,218
Favorites
2
Packages
1
Total Size
0.02 MB
Version
4
First release
Last update
Rating
4.67 star(s) 3 ratings

More resources from TBD

Credits

Creator Support Link
icons

Latest updates

  1. save/restore font sizes

    You can now set different font sizes per language for each text.
  2. fix for packaged scenes

    Fixed a bug which broke the plugin for packaged scenes.
  3. bugfix

    Should work as intended, now. Sorry for the inconvenience.

Latest reviews

Usually localization needs to be set up in a project from the beginning, but this tool just scans the completed project for text fields in your buttons and panels. For this, it works FLAWLESSLY.

My workflow uses triggers to change the text in panels, and that doesn't work, but if you only have buttons with static text, it is amazing.

I'd love to see some variable usage, if you ever extend this!
Upvote 0
场景必须另外保存,或解压var包,如果不用就更好了,十分有用,特别是需要翻译的人,可以分开每个场景单独翻译。很好的插件
Upvote 0
爱了!喜欢!
Upvote 0
Back
Top Bottom