Skip to content

Quick Translate Configuration

H. Ibrahim Penekli edited this page Nov 24, 2018 · 5 revisions

[DEPRECATED] Please refer to new documentation

1. Google Cloud Translation API

Google Cloud Translation API provides a simple programmatic interface for translating an arbitrary string into any supported language. Quick translate uses the API for translating missing locales. Google Translate API requires an authentication for pricing. More detailed information here.

2. Configure localization settings for Quick Translate

  • First obtain your API key from Google Cloud Console. See how-to guide.
  • Create a text file in project assets and paste your API key into here. (Make sure that the copied key is correct one)
Create auth file
  • Open LocalizationSettings from your Resources folder.
  • Attach the created key file to Google Authentication File field.
Attach auth file

Finally, you can translate missing locales automatically. See here.

P.S. If you want to use quick translate only in the Editor, exclude the auth file when deploying your game for production. For more information how to exclude an asset see here.