https://github.com/houraiteahouse/hourailocalization
Localization system for Unity3D.
https://github.com/houraiteahouse/hourailocalization
localization unity3d
Last synced: 4 months ago
JSON representation
Localization system for Unity3D.
- Host: GitHub
- URL: https://github.com/houraiteahouse/hourailocalization
- Owner: HouraiTeahouse
- Created: 2018-01-01T21:47:42.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-05-27T12:13:33.000Z (about 6 years ago)
- Last Synced: 2025-04-07T23:13:53.153Z (about 1 year ago)
- Topics: localization, unity3d
- Language: C#
- Homepage:
- Size: 300 KB
- Stars: 9
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Hourai Localization
An extension of [Unity3D's Localization](https://docs.unity3d.com/Packages/com.unity.localization@0.5/manual/index.html)
to more localizer friendly workflows. Currently supports Google Spreadsheets as
as a source of truth in generating localization assets.
## Installation
In Unity 2019.3 and later, add the following to your `Packages/manifest.json`:
```json
{
"dependencies": {
"com.houraiteahouse.localization": "2.0.0"
},
"scopedRegistries": [
{
"name": "Hourai Teahouse",
"url": "https://upm.houraiteahouse.net",
"scopes": ["com.houraiteahouse"]
}
]
}
```
## Usage
Hourai Localization only exists in the editor. Generator assets can be created
and configured via `Assets > Create > Hourai Teahouse > Localization Generator`.
Each generator is mapped to a `AssetTableCollection`. For every table collection,
a new generator should be made.
To trigger a project wide regenration of localization data, use the menu item
`Hourai Teahouse > Localization > Generate All`. This can be called
programmatically via `HouraiTeahouse.Localization.LocalizationGenerator.GenerateAll()`.
This can be useful in continuous integration enviroments to automatically regenerate
localization assets before builds.
Note that localization generators will overwrite all keys in the target collections.