Multilingual Capabilities of OSF FieldStorage

From OSF Wiki
Jump to: navigation, search

Multilingual capabilities of OSF FieldStorage will only appears to the system administrators and content curators if Drupal's multilingual capabilities are enabled. However, once they are enabled, a series of new features will be available to the users.

Multilingual Implementation in OSF FieldStorage

In this section we will cover how the multilingual capabilities of OSF FieldStorage have been implemented. The translation mechanism that OSF FieldStorage supports is Drupal's Node Translation. Field translation is not currently supported by the osf_fieldstorage field storage type (so, it is not supported by the OSF FieldStorage module). The Node Translation mechanism means that every time you translate a content type page, you are creating a new content type entity that uses this new language.

Multilingual 18.PNG

As you can see, every translation will result in a new resource that will be saved in OSF.

Translating Content Type Entities

For every content type that you want to translate, you have to make sure that its multilingual support is enabled. For every such content type, you have to edit it, and then clicking the Publishing options vertical tab and to select one of the Multilingual support option that are available.

Multilingual 7.PNG

Once this is done, you will be able to change the language of each entity of that content type.

The next step is to edit one of the content type page that you want to translate. Once you found the page to edit, you will see a new option Language appearing in the edit form. From that drop-down box, you have to select the language used for describing that page.

Multilingual 15.PNG

Once you selected a language other than Language neutral, you will see a new TRANSLATE tab appearing in the user interface. If you click on that tab, you will get to the translation page for this entity.

Multilingual 17.PNG

In this translation page, you have multiple options. First you will see the list of languages supported by the Drupal portal. For each of these languages, you will see if it has been already translated or not. It is has been translated, you will see the title of the translated page, otherwise you will see n/a. If there is a language for which you don't have a translation, you will see a add translation link in the operations column. By clicking on that link, you will be redirected to a new edit form that will let you write everything you want, in that selected language, for describing that entity.