Language File
Language File Format
The language file is formatted as a standard UTF-8 encoded PHP .ini file and will look like this when you open it in a text editor:

Replacement Values
Several of the language strings contain replacement values (%d, %s, etc) that will be replaced with a value depending on the context of the text. Each of the language strings that contains replacement values is covered below.
Editing the Default Language File
The default language file shipped with the software is for US English. This file can be modified if you would like to adjust the phrasing used for the messages displayed to end users. If you would prefer to translate the language file into a different language, please use the instructions in the Creating a Custom Language File section.

To make changes to the default language file, use the following instructions:
  1. Download the en_US.ini file from the language directory of your TubeX installation

  2. Open the en_US.ini file in any UTF-8 capable text editor (EditPlus works well for Windows, and you can probably find other free alternatives for Windows and other operating systems)

  3. Modify the language file as you like, being sure to maintain the correct format as described in the Language File Format section.

  4. Once you have made all the changes you like, save the en_US.ini file (making sure to maintain the UTF-8 encoding) and then upload the file back to your server replacing the existing copy.

  5. In the TubeX control panel run the Templates > Recompile Templates and Templates > Flush Template Cache function to have the new settings take effect.
Creating a Custom Language File
If you would like to create a custom language file for your native language, use the following instructions:
  1. Download the en_US.ini file from the language directory of your TubeX installation

  2. Rename the en_US.ini file to the filename of your choice (the file must have a .ini file extension). It is recommended that you use the same format, which specifies the language (en) and territory (US) in the filename. For example, if you were creating a language file containing the French language for Canadian users, you would use a filename of fr_CA.ini

  3. Open the language file file in any UTF-8 capable text editor (EditPlus works well for Windows, and you can probably find other free alternatives for Windows and other operating systems)

  4. Modify the language file as you like, being sure to maintain the correct format as described in the Language File Format section.

  5. Once you have made all the changes you like, save the language file (making sure to maintain the UTF-8 encoding and using a .ini file extension) and then upload that file to the language directory of your TubeX installation.

  6. In the TubeX control panel, access the Settings > Global Settings interface. In the Localization Settings section, set the Language setting to the value that corresponds with the new file that you uplaoded (if you uploaded a file named fr_CA.ini, select fr_CA from the drop down field). Save the software settings.

  7. Finally, in the TubeX control panel run the Templates > Recompile Templates and Templates > Flush Template Cache function to have the new settings take effect.