Support and General Use > Theming and Appearance Customization
Make your skins non-english friendly!
JdGordon:
I've just commited a new skin token which lets you display translated strings on the skins.
Alot of themes currently do something like "Artist: %iA" which is fine if you speak english, but crap if you dont... so please start using this new token...
use "%Sx|[Artist]|: %iA" instead :)
I might be persuaded to add another token so the []'s can be stripped.
every string in english.lang can be used, so if one fits where you would have used a plain string, use this.
yapper:
Cool - good work!
kugel.:
--- Quote from: JdGordon on September 25, 2009, 09:03:52 PM ---I might be persuaded to add another token so the []'s can be stripped.
--- End quote ---
No need for that. Those are only used in the id3 screen as of now. The [ ] can be generated at runtime, so fixing the langs to not have them is possible (I talked to rasher, everything should be fine).
EDIT: Done in SVN now. Note that you need %Sx|Artist| instead of %Sx|[Artist]| now (you can get the old effect with [%Sx|Artist|] if you wanted to).
seani:
If I'm including plain text - "Artist Unknown" - in a conditional - %?ia<%ia|Artist Unknown> how do I "nest" this with the new language neutral format?
JdGordon:
you cant translate arbitrary text, it has to be text which is already in the language files.
%?ia<%ia|%Sx|Artist Unknown|> would work *if* "Artist Unknown" is a translated string already.
Navigation
[0] Message Index
[#] Next page
Go to full version