• Hi Guest!

    We are extremely excited to announce the release of our first Beta for VaM2, the next generation of Virt-A-Mate which is currently in development.
    To participate in the Beta, a subscription to the Entertainer or Creator Tier is required. Once subscribed, download instructions can be found here.

    Click here for information and guides regarding the VaM2 beta. Join our Discord server for more announcements and community discussion about VaM2.
i18n

Plugins + Scripts i18n

Download [0.02 MB]
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.

Share this resource

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

Positive
Version: 4
Posted:
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
Positive
Version: 4
Posted:
场景必须另外保存,或解压var包,如果不用就更好了,十分有用,特别是需要翻译的人,可以分开每个场景单独翻译。很好的插件
Upvote 0
Positive
Version: 3
Posted:
爱了!喜欢!
Upvote 0
Back
Top Bottom