Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
translation [2019_04_29 09:02] – kam1 edit kamrantranslation [2019_09_12 16:54] steven
Line 29: Line 29:
   * **Download current version of .pot files** — To translate the File Fabric you will need the base "template" files. This link allows you to download these files   * **Download current version of .pot files** — To translate the File Fabric you will need the base "template" files. This link allows you to download these files
   * **Force to use selected language** — When this is set to anything other than "autodetect", the File Fabric will not perform any language negotiation with the browser and will always display in the selected language.    * **Force to use selected language** — When this is set to anything other than "autodetect", the File Fabric will not perform any language negotiation with the browser and will always display in the selected language. 
-  * **Default language** — This sets the default language that is served if no mutual language can be negotiated with the users browser. +  * **Default language** — This sets the default language that is served if no mutual language can be negotiated with the user'browser. 
-  * **Active languages** — This controls which languages are available. Download links to the translation files for these files are provided+  * **Active languages** — This controls the active languages and download links to the translation files for available languages
  
 ==== Translating the File Fabric ==== ==== Translating the File Fabric ====
Line 84: Line 84:
 However, as with any new release, it is likely that new strings will have been introduced. With each release, the File Fabric's POT (template) files are updated, and you should perform a merge with the POT files to ensure you have no missing strings.  However, as with any new release, it is likely that new strings will have been introduced. With each release, the File Fabric's POT (template) files are updated, and you should perform a merge with the POT files to ensure you have no missing strings. 
  
-To do this, download the new POT files. For each POT file, like **sme\_code.pot**, we will want to merge it with our previous translated PO file. +To do this, download the new POT files. For each POT file, like **sme\_code.pot**, you will need to merge it with our previous translated PO file. 
  
-To merge the files we will use the **msgmerge** command, part of the gettext package, like follows:+To merge the files you can use the **msgmerge** command, part of the gettext package, like follows:
  
 ``` ```
Line 95: Line 95:
  
 Once done, follow the previous instructions for uploading your PO files to the File Fabric. Once done, follow the previous instructions for uploading your PO files to the File Fabric.
 +
 +## Troubleshooting
 +
 +PO and POT Files can be found under
 +
 +    /var/www/smestorage/public_html/languages