fungus

Open full view…

How to make a multilanguage game with fungus?

Stephanie Platz
Mon, 20 Apr 2015 02:41:05 GMT

I've watched all the official video tutorials and thought about using fungus. But I need to make my game in multiple languages (german and english) and want to know, how I would do this with fungus... It's okay if I need to code :) Would love to read some advice. Thanks in advance :D

chrisgregan
Mon, 20 Apr 2015 12:18:51 GMT

Hi Stepanie! We've added localisation support in the upcoming release of Fungus (beta 7). You can actually download the [beta 7 build](https://github.com/snozbot/fungus/releases/tag/v2.0-beta.7) right now, but we're still in the process of updating docs and tutorial videos before we officially release it. If you want to give the localisation stuff in give Beta 7 a go, here's how it works. 1. Select Tools > Fungus > Create > Localization to add a Localization object to your scene. 2. Select each FungusScript (now called Flowchart) object in your scene and set the localization id property to some recognisable and unique string. 3. Select the Localization object and use the Export Localization File button to export all strings in the scene to a .csv tex file 4. Open the csv file in a spreadsheet editor. [Libre Office](https://help.libreoffice.org/Calc/Importing_and_Exporting_CSV_Files) works well. Make sure to save the csv using comma separators. 5. Add new columns to the sheet for each language, with the language code as the column heading (e.g. FR, ES) 6. In Unity, se t the Localization File property to reference the localization.csv file you saved to your project. 7. Set the active language property to use one of the Language codes in your csv file. When you play the scene, the Flowchart Say & Menu commands will use the localized strings from your csv file. There's also a localization scene in the FungusExamples folder which shows a working example. Hopefully that gets you started, we'll have this properly documented and tutorial video-ised soon :)

aliceelwin
Tue, 05 Dec 2017 10:38:32 GMT

hello, admin. May I ask something else about localization? does the localization feature has some online integration with google drive/and similar online cloud database. so, if I build the game (not inside unity project), it can update its translated/localized text and fonts simultaneously just by editing the csv files in the google drive. sorry if my question is difficult to understood.

chrisgregan
Sat, 30 Dec 2017 22:46:46 GMT

No sorry, the localization does not connect with Google Drive, etc., it's just local editing via a spreadsheet editor.