-
Notifications
You must be signed in to change notification settings - Fork 2
Translation procedure
Henriette Steenhoff edited this page Sep 11, 2019
·
17 revisions
This page describes the procedure one has to go through in order to add a new field to the translation sheet and successfully update the translation sheet within ClimApp.
As the procedure is not finalized yet, this page will be updated continuously during the following days
- Open the translation sheet
-
Go to the pane
planningand fill out:-
text type- use the drop down menu -
page name- the page where the information currently exist (use the drop down menu) -
wheel name(optional) only if the content you are creating is for a new wheel -
text- the actual text you want to add -
current_id- the ID (if it exist) used in the code base -
suggested_id(auto-filled) the suggested ID based on the information you provided -
static/API/system- and indication of what type of text you are filling out-
static- text that is not changed -
API- text field that will be updated by third-party (API) -
system- a text value only used within the system
-
-
Concatenated_text?(0/1) - an indication of whether the text will be concatednated with other text (as this might increase the complexity of the implementation) -
Logic dependent on text?(1/0) - an indication of whether the raw text is used directly in conjunction with any part of the code logic (if so, it is important that, if the text is changed, the dependet code is also changed)
-
- Based on whether your new text is for a wheel, general text or a toast, add the text to the associated pane
strings,toastsorwheels - Add the translations for all languages available
- If the translations has not already been approved, get the translations approved by xx
For developers
- Convert the pane(s) with new information to a
.csv-file by clicking File -> Download -> Comma separated values (.csv) - Save the file in the xx folder
- Run the
convertTranslationstoJSONfromCSV.pyfile (it will generate atranslations.jsonfile. -
Before moving the file to the ClimApp project
- Move the current
translations.jsonfile fromClimAppPath/translationstoClimAppPath/translations/arhcive - Copy the generated
translations.jsontopathinClimAppPath/translations
- Move the current
- Run the application to test that the new translation have been added as expected

- Recommended Alert Limit
- Weather data
- Shared preferences
- Translation procedure
- Prediction of indoor temperature
Testing
Server/database/API
User information
- Acclimatization
- Activity level
- Age
- Age onboarding
- Gender
- Height value
- Unit
- Weight
- Wet Bulb Globe Temperature (WBGT)
Flow controls