Adding a language to Parley is fairly straight forwards, the steps below show you how to modify the supported languages.Documentation Index
Fetch the complete documentation index at: https://docs.kodeflowstudios.com/llms.txt
Use this file to discover all available pages before exploring further.
1. Updating the ENUM
Open up theLocalization.cs file located inside the Utilities folder of the Parley asset.
You’ll find the LanguageID enum located near the top of the file, this is where your supported languages go.
Add your desired language(s) to the enum. It should look something like this:
2. Adding the info
Inside the Localizer class, you’ll find a dictionary called Languages. Create the language details pair like the english example or like the example below:It is recommended to use ISO 639-1 codes for languages so that your naming is consistent, however, you can use whatever string you like in the
iso_code field.