Page tree
Skip to end of metadata
Go to start of metadata


Problem

If you want to use Linchpin Translations to translate Linchpin into other Languages, you need the translation keys in order to translate them to other languages.

Solution

First of all Confluence offers an easy way to identify the keys for most element of the user interface. You can activate them, by adding a special parameter to the URL.

YOUR_CONFLUENCE/dashboard.action?i18ntranslate=on

You can also disable this mode in a similar fashion.

YOUR_CONFLUENCE/dashboard.action?i18ntranslate=off

Full lists

There is also a not documented API to get all keys and the translation for the current user. You can use them to create language packs with or without Linchpin Translations. You can do so, by passing the individual app key for which you want the translation keys. The below example shows this for our Linchpin Events app.

YOUR_CONFLUENCE/rest/prototype/1/i18n.json?pluginKeys=net.seibertmedia.plugin.confluence.event-manager

The examples below show this for our more complex apps.

Linchpin User Profiles

To translate LUP profile fields, simply use the field names (not the cup ID below!) verbatim as translation keys. Make sure to use plain text names here, spaces etc. are not recommended. Edit the field name if necessary, since you are going to translate it anyways:

Additionally, you can use the following call to get all keys for Linchpin User Profiles and the bundled apps themselves.

YOUR_CONFLUENCE/rest/prototype/1/i18n.json?pluginKeys=net.seibertmedia.plugin.confluence.cup&pluginKeys=net.seibertmedia.confluence.content-responsibility

Linchpin Theme

You can use this call, to get all keys for Linchpin Theme Profiles and the bundled apps.

YOUR_CONFLUENCE/rest/prototype/1/i18n.json?pluginKeys=net.seibertmedia.confluence.plugins.linchpin-theme&pluginKeys=net.seibertmedia.confluence.plugins.custom-landing-spaces&pluginKeys=net.seibertmedia.confluence.plugin.menuEditor&pluginKeys=net.seibertmedia.confluence.linchpin-sidebar&pluginKeys=net.seibertmedia.confluence.linchpin-login&pluginKeys=net.seibertmedia.confluence.space-directory

Linchpin Manager

You can use this call, to get all keys for Linchpin Manager and the bundled apps.

YOUR_CONFLUENCE/rest/prototype/1/i18n.json?pluginKeys=net.seibertmedia.plugin.confluence.linchpin-management&pluginKeys=net.seibertmedia.confluence.linchpin-assistant&pluginKeys=net.seibertmedia.confluence.linchpin-onboarding&pluginKeys=net.seibertmedia.confluence.i18n-editor

Linchpin Suite

You can use this call, to get all keys for the Linchpin Suite and all Linchpin apps.

YOUR_CONFLUENCE/rest/prototype/1/i18n.json?pluginKeys=net.seibertmedia.confluence.language-manager&pluginKeys=net.seibertmedia.confluence.linchpin-connector&pluginKeys=net.seibertmedia.confluence.enterprise-news-bundle&pluginKeys=net.seibertmedia.plugin.confluence.event-manager&pluginKeys=net.seibertmedia.confluence.linchpin-suite&pluginKeys=net.seibertmedia.confluence.appcenter&pluginKeys=net.seibertmedia.plugin.confluence.linchpin-management&pluginKeys=net.seibertmedia.confluence.linchpin-assistant&pluginKeys=net.seibertmedia.confluence.linchpin-onboarding&pluginKeys=net.seibertmedia.linchpin-mobile&pluginKeys=net.seibertmedia.confluence.linchpin-news-digest&pluginKeys=net.seibertmedia.confluence.profile-based-content&pluginKeys=net.seibertmedia.confluence.plugins.linchpin-theme&pluginKeys=net.seibertmedia.confluence.plugins.custom-landing-spaces&pluginKeys=net.seibertmedia.confluence.plugin.menuEditor&pluginKeys=net.seibertmedia.confluence.linchpin-sidebar&pluginKeys=net.seibertmedia.confluence.linchpin-login&pluginKeys=net.seibertmedia.confluence.space-directory&pluginKeys=net.seibertmedia.confluence.linchpin-touch&pluginKeys=net.seibertmedia.confluence.i18n-editor&pluginKeys=net.seibertmedia.plugin.confluence.cup&pluginKeys=net.seibertmedia.confluence.content-responsibility&pluginKeys=net.seibertmedia.confluence.linchpin-iconfont&pluginKeys=net.seibertmedia.plugin.confluence.microblog&pluginKeys=net.seibertmedia.confluence.plugin.termsofuse-plugin


  • No labels