von Bananeweizen » 31 Mai 2009, 13:12
Just an addition: {0}, {1} and so on are placeholders for values which are added at runtime (file names, channel names, or whatever). You need to use the same numbers in your translation, but you can use them in another order. So if an English message reads:
{0} will be filled with the channel name and {1} will be filled with the number of programs. You can reorder that in your translation. So if you used this
the message would still be correct, although {1} now comes first.
Just an addition: {0}, {1} and so on are placeholders for values which are added at runtime (file names, channel names, or whatever). You need to use the same numbers in your translation, but you can use them in another order. So if an English message reads:[code]Channel {0} has {1} programs.[/code]
{0} will be filled with the channel name and {1} will be filled with the number of programs. You can reorder that in your translation. So if you used this[code]There are {1} programs for channel {0}.[/code]the message would still be correct, although {1} now comes first.