clarity-h2020 / marketplace

myclimateservices.eu Marketplace Management Project
https://myclimateservices.eu/
0 stars 0 forks source link

Multilinguality Support #7

Open p-a-s-c-a-l opened 5 years ago

p-a-s-c-a-l commented 5 years ago

Whether and how do we address Solution Offers and / or Showcases in different languages? Are there inbuilt Drupal functions for i18n content?

ATM, I'm creating a showcase for a municipality in Germany. The web application I'm embedding is German (https://csis.myclimateservice.eu/node/487), so the Showcase description is.

Should I add a field 'language' to the Showcase Entity Type and then create 'Languages' Taxonomy, or is there a better way to do this?

fgeyer16 commented 5 years ago

I enabled the modules needed for multilinguality.

Add Language we will need here: https://csis.myclimateservice.eu/admin/config/regional/language to the page For content we want in multiple languages () we have to:

  1. add the Language selector Field/Widget to the forms (put it in another region than "disabled")
  2. enable translation for the content type
  3. enable translation for the fields we want to be translated.

If the content is in another language than the sites default language (English) just set the language on the language selectoron the edit form.