Asset Localization for Unity
  • What is Asset Localization?
  • Getting Started
  • Localization Explorer
  • Localizing Components
  • Language Persistence
  • Import/Export (CSV)
  • Quick Translate
  • Scripting Reference
Powered by GitBook
On this page
  • Google Cloud Translation API
  • Configure localization settings for Quick Translate

Was this helpful?

Quick Translate

PreviousImport/Export (CSV)NextScripting Reference

Last updated 6 years ago

Was this helpful?

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 .

Configure localization settings for Quick Translate

  • First obtain your API key from . See .

  • Create a text file in project assets and paste your API key into here. (Make sure that the copied key is correct one)

  • Open LocalizationSettings

  • Attach the created key file to Google Authentication File field.

Finally, you can translate missing locales automatically. See .

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

here
here
Google Cloud Console
how-to guide
Google Cloud Auth File (Contains API key)
Settings - Google Authentication File
here