Welcome, Guest
Please Login or Register.    Lost Password?

Localization strings in skins
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Localization strings in skins
#17200
Localization strings in skins 2 Years, 5 Months ago  
I always have this question... can strings in a skin (not Shadow4) be localized?
But not any string stored in the locale files.

e.g., if I in a skin have the text "Mostrar subtitulo" in Spanish, I wish to show the text "Show subtitle" in English, or any other language. This could be a variable name.

I was thinking on the %L suffix, but it is used with (several) image files...
Jorge_Luis
Platinum Boarder
Posts: 795
graphgraph
User Offline Click here to see the profile of this user
Gender: Male My Rainlendar Skins Location: Argentina Birthday: 03/15
The administrator has disabled public write access.
 
#17204
Re: Localization strings in skins 2 Years, 5 Months ago  
You probably could change the texts with a lua script. I.e. have a variable in the skin which defines the language (or read the GlobalSettings/Language from Rainlendar's config) and use a different text depending on its value.
Rainy
Moderator
Posts: 5991
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
get the latest posts directly to your desktop