Difference between revisions of "Language Files"

From TMM Wiki
Jump to navigationJump to search
Line 19: Line 19:
  
 
You can find your available Language Files for every [[Ct#Affiliate|affiliate]] [[Ct#Skin|skin]] you have set up in the [[NATS4 Skins and Templates Admin|Skins and Templates Admin]]. Just navigate to the [[NATS4 Skins and Templates Admin|Skins and Templates Admin]] and click the "Edit [[Ct#Template|Templates]] action icon for any [[Ct#Skin|skin]] listed here.  
 
You can find your available Language Files for every [[Ct#Affiliate|affiliate]] [[Ct#Skin|skin]] you have set up in the [[NATS4 Skins and Templates Admin|Skins and Templates Admin]]. Just navigate to the [[NATS4 Skins and Templates Admin|Skins and Templates Admin]] and click the "Edit [[Ct#Template|Templates]] action icon for any [[Ct#Skin|skin]] listed here.  
 +
 +
[[File:Default language files.PNG|450px|Viewing Your Default Language Files]]
  
 
All of your Language Files will be displayed in your list of [[Ct#Template|templates]] with the prefix of ''language_''. For example, you will see ''language_en'' for English language files, ''language_de'' for German language files, and ''language_fr'' for French language files.
 
All of your Language Files will be displayed in your list of [[Ct#Template|templates]] with the prefix of ''language_''. For example, you will see ''language_en'' for English language files, ''language_de'' for German language files, and ''language_fr'' for French language files.
 +
 +
== Changing Language Files ==
  
 
You can see what [[NATS]] variables match up to the text displayed on [[Ct#Affiliate|affiliate]] pages, and edit the text that is displayed, in the [[Ct#Template|templates]] here. Just click the "Customize" action icon for any of these [[Ct#Template|templates]] to do so.  
 
You can see what [[NATS]] variables match up to the text displayed on [[Ct#Affiliate|affiliate]] pages, and edit the text that is displayed, in the [[Ct#Template|templates]] here. Just click the "Customize" action icon for any of these [[Ct#Template|templates]] to do so.  
  
 
You can also choose to override the default language file settings with the Skin Text Override [[Ct#Template|templates]] provided here. All of these [[Ct#Template|templates]] begin with the prefix, ''language_override_''. Just fill out this [[Ct#Template|template]] using the variables provided in the default Language Files to override your default Language Files.
 
You can also choose to override the default language file settings with the Skin Text Override [[Ct#Template|templates]] provided here. All of these [[Ct#Template|templates]] begin with the prefix, ''language_override_''. Just fill out this [[Ct#Template|template]] using the variables provided in the default Language Files to override your default Language Files.
 +
 +
[[File:Language override templates.PNG|450px|Editing Your Language Override Templates]]
  
 
If you wish to revert your changes and reset your Language File [[Ct#Template|template]] to its default settings, just click the "Revert" action icon in your table of [[Ct#Template|templates]]. Once you do, that Language File will go back to the default translations included with [[NATS]] 4.1.
 
If you wish to revert your changes and reset your Language File [[Ct#Template|template]] to its default settings, just click the "Revert" action icon in your table of [[Ct#Template|templates]]. Once you do, that Language File will go back to the default translations included with [[NATS]] 4.1.

Revision as of 14:16, 13 May 2011

NATS 4
Members Admin
The Members Admin
View Member Details
Add Member
MySQL Auth
Mod Authn DB
Multisite Access
Member Logging
Member Password Retrieval
OpenID Connect
Mod Auth OpenIDC
ID Numbers
Skins and Templates Admin
The Skins and Templates Admin
Skins
Templates
Site Templates
Language Skins
Language Files
custom_errors.php
Join Page Variables
Skipping NATS Join Form
Post URL Variables
Member Usernames & Passwords
Form Validation
Username Recommendations
Password Retrieval
Post-Biller Templates
Geo-Target Join Options
Random Usernames and Passwords
Smarty
Smarty print array
Smarty Plugins
Available Smarty Functions
Affiliate Support Template
Adding a Verification Image
Custom Program and Campaign Selection Pages
Output An Affiliate's Last Paid Date
Affiliate Signup Email
Affiliate Join Page Linkcodes
Approval/Upgrade/Denial Variables
Approval/Upgrade/Denial Template Variables
CSS Theme Builder

Note: This article only applies to NATS version 4.1 and higher. If you wish to upgrade your installation of NATS in order to take advantage of this feature, please put in a support ticket.

Language Files allow you to easily offer multiple languages for your affiliate-side pages in NATS 4.1. With this feature, affiliates can quickly switch between any language that is available in the language files. This provides even more customization and flexibility, so program owners can support a wide variety of affiliates and affiliate promotions.

NATS 4.1 offers support for English, German, French, Russian, and Spanish by default, which affiliates can switch to on their "My Account" pages.

Choosing Language Files

Affiliates can change what language their affiliate pages are displayed in with the "Choose Skin" section on any of the affiliate My Account pages. These pages can be accessed by simply clicking a link in the "My Account" section of the toolbar, found at the top of any NATS affiliate page.

Picking a Language File

The "Choose Skin" box can be found at the bottom of the the left-most column on any of these affiliate My Account pages. Use the "Language" drop-down menu here to choose from any of the Language Files offered by the program owner here, then click Save Changes. All of your NATS affiliate pages will now be displayed in the language you chose.

Locating Language Files

You can find your available Language Files for every affiliate skin you have set up in the Skins and Templates Admin. Just navigate to the Skins and Templates Admin and click the "Edit Templates action icon for any skin listed here.

Viewing Your Default Language Files

All of your Language Files will be displayed in your list of templates with the prefix of language_. For example, you will see language_en for English language files, language_de for German language files, and language_fr for French language files.

Changing Language Files

You can see what NATS variables match up to the text displayed on affiliate pages, and edit the text that is displayed, in the templates here. Just click the "Customize" action icon for any of these templates to do so.

You can also choose to override the default language file settings with the Skin Text Override templates provided here. All of these templates begin with the prefix, language_override_. Just fill out this template using the variables provided in the default Language Files to override your default Language Files.

Editing Your Language Override Templates

If you wish to revert your changes and reset your Language File template to its default settings, just click the "Revert" action icon in your table of templates. Once you do, that Language File will go back to the default translations included with NATS 4.1.