XSL values detecting string in URL

gioppins

New Member
I have a multi-language site with a url structure like this: \[code\]www.mysite/en/home.htm\[/code\] or \[code\]www.mysite/es/home.htm\[/code\] (for english and spanish versions).In this home.htm I have a table data from an xml files.The headers of this table, \[code\]<th>\[/code\], are into a xsl file.I would like to dinamically change these values depending on the language that I would detect by that \[code\]/es/\[/code\] in the URL.
  • If URL = www.mysite/en/home.htm then
  • Description
  • Game Type
  • ....
  • If URL = www.mysite/es/home.htm than
  • Descripci
 
Back
Top