Difference between revisions of "Language Files"

From WHMCS Documentation

(Adding Support for a New Language)
m (Reverted edits by Tardego (Talk); changed back to last version by Nkitce)
Line 1: Line 1:
 
The language files in WHMCS contain all the text strings shown to clients.  This allows you to customise any of the text your clients see.
 
The language files in WHMCS contain all the text strings shown to clients.  This allows you to customise any of the text your clients see.
  
Se WHMCS não tem actualmente uma linguagem arquivo para o seu idioma, você pode criar suas próprias. Isto é uma coisa bastante simples de fazer, mas vai levar algum tempo para traduzir todas as cadeias de texto.
+
==Adding Support for a New Language==
  
# Comece duplicar um idioma existente no arquivo lang diretório.
+
If WHMCS doesn't currently have a language file for your language then you can create your own. This is a fairly simple thing to do but will take some time to translate all the text strings.
# Guarde esta com o nome que você deseja mostrar na língua selecção do menu suspenso WHMCS - não deve conter quaisquer caracteres especiais.  
 
# Quando o arquivo for duplicada, você pode começar a traduzir todas as cadeias de texto no mesmo para o seu idioma.
 
# Uma vez completo, basta salvar e fazer o upload do arquivo para o seu viver WHMCS lang diretório. Você irá então encontrar o idioma disponível como uma opção no menu suspenso o idioma no admin e cliente áreas.  
 
  
Tenha cuidado para não excluir qualquer uma das aspas ( ") em torno de cadeias de texto ou o ponto e vírgula sobre as extremidades de cada linha (;). Se o fizer, irá resultar em erros ocorrem quando você seleciona o idioma a partir de dentro WHMCS.
+
#Begin by duplicating an existing language file in the lang directory.
 +
#Save this with the name you want shown in the language selection dropdown menu of WHMCS - it should not contain any special characters.
 +
#Once the file is duplicated, you can begin translating all the text strings in it for your language.
 +
#Once complete, just save and upload the file to your live WHMCS lang directory.  You will then find the language available as an option in the language dropdown in the admin and client areas.
 +
 
 +
Be careful not to delete any of the quotation marks (") around the text strings or the semi-colons on the ends of each line (;). Doing so will result in errors occuring when you select your language from within WHMCS.
  
 
==Modifying Existing Language Strings 修改存在的語言串接檔==
 
==Modifying Existing Language Strings 修改存在的語言串接檔==
  
 
You can change any of the text displayed in the WHMCS Client Area by editing the relevant language file in the lang folder of your WHMCS system.  All text strings in the client area can be found in the language file and modified in any way you want.
 
You can change any of the text displayed in the WHMCS Client Area by editing the relevant language file in the lang folder of your WHMCS system.  All text strings in the client area can be found in the language file and modified in any way you want.

Revision as of 15:43, 18 March 2009

The language files in WHMCS contain all the text strings shown to clients. This allows you to customise any of the text your clients see.

Adding Support for a New Language

If WHMCS doesn't currently have a language file for your language then you can create your own. This is a fairly simple thing to do but will take some time to translate all the text strings.

  1. Begin by duplicating an existing language file in the lang directory.
  2. Save this with the name you want shown in the language selection dropdown menu of WHMCS - it should not contain any special characters.
  3. Once the file is duplicated, you can begin translating all the text strings in it for your language.
  4. Once complete, just save and upload the file to your live WHMCS lang directory. You will then find the language available as an option in the language dropdown in the admin and client areas.

Be careful not to delete any of the quotation marks (") around the text strings or the semi-colons on the ends of each line (;). Doing so will result in errors occuring when you select your language from within WHMCS.

Modifying Existing Language Strings 修改存在的語言串接檔

You can change any of the text displayed in the WHMCS Client Area by editing the relevant language file in the lang folder of your WHMCS system. All text strings in the client area can be found in the language file and modified in any way you want.