Translations - johnsonandjohnson/vxnaid GitHub Wiki

Translations

Table of contents

Introduction

To access the “Manage Translations” page, you need to select the “Configure Metadata” and click the “Manage Translations” link in the “Vxnaid” section.

Note: This page only applies to the operator app, not the CFL portal.

/uploads/Translations-1.png

/uploads/Translations-2.png

Uploading File

To upload a file with translations, you need to provide a file in .csv format. The file should contain a comma delimiter. You can either drag and drop the file to the greyed-out space or click the “Open file dialog” button to add a file from the device.

/uploads/Translations-3.png

Rejected File

When an issue with the file occurs, an error message with the file name will be displayed underneath the “drag and drop” space. In that case, please make sure that the format and file structure is correct.

/uploads/Translations-4.png

Accepted File

When the provided file is accepted and ready to be uploaded, a success message will be displayed underneath the greyed-out space and the “Upload” button will be enabled.

/uploads/Translations-5.png

When you click the “Upload file” button, a confirmation popup will appear. Select “No” to cancel. Select “Yes” to proceed.

Note: The provided file will overwrite already existing data. Make sure that the file you are uploading is correct.

/uploads/Translations-6.png

Translations

When the upload is successful, the translation overview will be populated with uploaded data. The translation overview provides the below options.

Add Language

To add a new language, click the “Add language” button underneath the search bar.

/uploads/Translations-9.png

Once clicked, the “Add language” popup will be displayed. Select a new language from the dropdown list and click “Add”.

/uploads/Translations-10.png

/uploads/Translations-11.png

Once the language is added, a new column will appear in the translation overview.

Note: When a phrase does not have a translation, it will be inherited from the default language.

/uploads/Translations-12.png

Search Translation

The translation overview gives the possibility to search for both “by a phrase” and “by a language”. When searching “by a phrase”, you need to type in the phrase in the search field. The results will display the phrase and its translation in available languages.

/uploads/Translations-7.png

You can also search “by language” by selecting a language from the dropdown list in the search field. This will filter the languages columns, displaying only the selected language.

/uploads/Translations-8.png

Edit Translation

To edit a translation directly in the translation overview, click the chosen phrase field and type in the translation.

/uploads/Translations-13.png

Save Translation

In order to save the translation overview, click “Save” at the bottom of the page.

/uploads/Translations-14.png

Cancel Changes

To leave the page without saving changes, click “Return” at the bottom of the page and select “Yes” on the “Warning” pop-up.

/uploads/Translations-15.png

/uploads/Translations-16.png