Skip to main content

Multilingual App
2 followers
1 question
0 posts

Do you have questions about Multilingual App?

Log in to ask questions about Multilingual App publicly or anonymously.

Hi Bryan, 

Thank you for your question! 

In order to host a bilingual community, we have the Translation App16 available. This app will recognize content posted in a language different from the primary community language set and will provide a translation sign under the content for people to utilize. This app is available for all communities and can be accessed under Admin Settings > Apps.

Alternatively, we also have the Multilingual App12 which enables users with the ability to change the community language within their account settings to their language of choice. This app can also be accessed under Admin Settings > Apps, however is only available for Premium and Enterprise plans11.

In addition to the apps mentioned above, you could also create multiple groups within your community that is language-specific. An example of this can be seen here12 where the community is divided into groups ("channels") specific to language/ region. 

 

Eli Tribe TEAM
Customer Support Manager at Tribe

Recently we added a new app to our app store called "Multilingual". This app is for Enterprise and Premium clients that allow their members to change the interface language for their own view. Once the app is installed33, each user can change the language from account settings: 

Account Settings> Account> Display Language> Update
Account Settings> Account> Display Language> Update

 

Now, based on the preferred language that this user has picked (e.g. Dutch Language), if the Translation App19 is enabled on your community as well, all the posts in a language different than Dutch, can be translated to the Dutch language by clicking on the globe icon at the end of the post. 

Now, if you are using SSO or you already have information about what the preferred language for your user is on your main website or your list, you can use Tribe Webhooks to automatically change the preferred language for each user inside the community accordingly. You can add a webhook for user.signup and then use our user update API (PUT /api/v1/users/{userId}) and set locale in the data.

 

You can learn more about this app here16 or check this Q&A page20

Below is an example code that adds two languages to the top navbar on the home page (English and French). You can replace the languages in the code to show any other language that you want. 
The codes should be inserted to Admin Panel> Theme> Advanced Settings> <body> tag

<div class="ui compact menu"> 
	<div class="ui simple dropdown item"> 
	Language Picker 
		<i class="dropdown icon"></i> 
		<div class="menu">
			<a class="item" href="?locale=en">English</a>
			<a class="item" href="?locale=fr">French</a>
		</div> 
	</div> 
</div>

However, the code above does not "save" the language for the user's account. If you want it to be saved for the user account, you need to use this code: 

<div class="ui compact menu">
<div class="ui simple dropdown item">
Language Picker
 <i class="dropdown icon"></i>
 <div class="menu">
  <a class="item" href="?setLocale=en">English</a>
  <a class="item" href="?setLocale=fr">French</a>
 </div>
</div>
</div>