View Single Post
Old 01-01-2012, 07:40 AM   #70
asocial
Human being with feelings
 
Join Date: Nov 2010
Posts: 27
Default

Quote:
Originally Posted by Breeder View Post
care to explain how it works?
Let's say string with ID=001 reads "Delete" and string with ID=002 reads "Delete all" in English.
In Polish file string ID=001 reads "Usuń" and string ID=002 reads e. g. "Usunąć wszystko".
In Czech file string ID=001 reads "Odstranit" and string ID=002 reads "Odstranit vše".

Application loads the strings by identifiers, so it looks up for ID=001 and ID=002 in relevant language file, and then displays respectively:
- "Delete" and "Delete all" in English UI
- "Usuń" and "Usunąć wszystko" in Polish UI
- "Odstranit" and "Odstranit vše" in Czech UI

Identifiers are unique, so application always loads precisely the needed string from the relevant language file.
asocial is offline   Reply With Quote