View Single Post
  #1  
Old 08-22-2016, 09:31 AM
 
Niboon Niboon is offline
 

Newbie
  
Join Date: Feb 2015
Posts: 6
 

Default Using Translation Labels in JavsScript

Hi all,

The .tpl scheme allows translation labels like {t(#Order payment#)} within .tpl files.
I was wondering what's the best way to retrieve similar translation labels through JavaScript.

For example I would like to add a Title to a part of the page but I would like that title to change languages with different translations that I add through the translation labels system.


Any help would be appreciated, Thanks!
-Niboon
__________________
Niboon -- Pathos Engineering

X-Cart 5.1.10 & 5.2beta
Reply With Quote