A site connected to Google Cloud Translation has two main ways to manage content in more than one language: Dynamic Content Translation and the Multi-Language Content Manager.
Dynamic Content Translation lets people translate content that users created into another language with a single click. Readers get content in their chosen language, and intranet administrators don't have to manage separate manual translations.
Multi-Language Content Manager lets editors create and refine a separate version of the content for each language, starting from an automatic translation. If a translation isn’t available, the content shows in its original language, and readers can switch between the available languages on the content detail page. This feature is available only on Enterprise licenses.
Note: Google charges for every character the Cloud Translation API translates. The first 500,000 characters each month are translated for free. After that, the charge depends on the number of characters actually translated. With Dynamic Content Translation, content is translated only when someone clicks the language icon on it, which keeps your organization's cost down. The Multi-Language Content Manager translates a whole item each time an editor adds a language version of it. See Cloud Translation pricing for more information.
Note: This step is required for both Dynamic Content Translation and the Multi-Language Content Manager.
Once the system properties are updated and the site is restarted, the language icon appears on content, and people can use it to translate content into their own language.
Before you set up the Multi-Language Content Manager, finish the Google Cloud Translation API setup above. Then follow these steps in the Google Cloud Platform and Axero:
Preserve Specific Formats:
To keep specific tags intact during translation, enter them in the GoogleCloudTranslationProtectedPatterns system property, one pattern per line. The default patterns include:
<span\b[^>]*>{{mention:([0-9]{1,}):([0-9]{1,})}}</span>
<pre\b[^>]*>[\s\S]*?</pre>
<script\b[^>]*>[\s\S]*?</script>
<style\b[^>]*>[\s\S]*?</style>
Note If these tags are left out of GoogleCloudTranslationProtectedPatterns, mentions and code highlights stop working correctly. Do not delete or change the default value of the GoogleCloudTranslationProtectedPatterns property.
Both the API key and the service account credentials are held as system properties on your site. Anyone who can open System Properties in the Control Panel can read them back. That is site administrators, and by default the Moderator role as well.
They are used on the server only. Axero calls the Google Cloud Translation API from the server, so neither the API key nor the service account JSON is sent to the browser or embedded anywhere in page markup. A person using the site cannot extract them by viewing the page source.
is requesting access to a wiki that you have locked: https://my.axerosolutions.com/spaces/5/axero-documentation/wiki/view/82594/google-cloud-translation-integration-administrator-setup
Your session has expired. You are being logged out.