Top
Understand Language Property Files
  • 14 Apr 2023
  • 2 Minutes To Read
  • Dark
    Light
  • PDF

Understand Language Property Files

  • Dark
    Light
  • PDF

Article Summary

You can request Whatfix to activate language support for a particular business account. Once activated you can download the related files using your Whatfix business login. See Updating and Managing Language Files for more information.
The downloaded file (.zip) contains a set of language property files for all the languages supported in your account. These files are UTF-8 encoded. Each file includes properties for all the Flows. There are 2 sets of language property files in the downloaded zip file:
pop-up_language download files

  • delta: This folder contains only those properties that were modified after the previous translation.

  • full: This folder contains the full set of all the properties files.

Here is an example of what a property file looks like.

Note
  • A line of space separates two different Flows.

  • Ensure you are familiar with html before modifying the content of the properties file. The properties file contains not only the text content but also the formatting and metadata about the content.

  • While translating the content of the properties file ensure that you,

  • Do not modify any content within the <> tags.

  • Do not change any text before the equal to (=) sign

studio_translate_propertyfile

Note
  • The first line contains the language that this property file deals with. In the above image, 'fr' represents the French language code. For a list of supported languages and their codes, see Languages Supported by Whatfix

  • The second line displays the file creation time.

  • Each line represents a key-value pair where, key=value

  • Each key starts with a flow id followed by a corresponding field name.

E.g.: fb1703d0-47f4-11e5-b962-448a5b5dd5b8_step_1_description represents Step 1 Description of flow having flow_id "fb1703d0-47f4-11e5- b962-448a5b5dd5b8".

  • Each value is either:

  • English text of the corresponding field, if there is no existing translation (or)

  • Translated text of that field, if a translation exists

E.g.: fb1703d0-47f4-11e5-b962-448a5b5dd5b8_step_1_description=Vous êtes ici sur 'Home'

  • Here Vous êtes ici sur 'Home' is the french translation of Step 1

  • When the file is downloaded the first time, all the values are in the default language. (Language used to create the Flow).

  • Lines beginning with "property" represent text for Whatfix elements that appear when the flow is run.

  • File with the name "default.properties" contains the default values for all the properties in Whatfix, including the default language in which all the flows were published in the business account.

  • Ensure that all translated content is saved only in UTF-8 encoding.

  • Character limit restrictions apply to the translations.

  • Rich Text Formatting remains the same in the language property file.

  • Use \n character to start content on a new line.


Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.