wiki:Skinning/Internationalization
Last modified 15 years ago Last modified on 05/20/10 12:47:06
  • Skinning
    • Each skin contain internationalization, theme or interaction map (this means that a skin may contain more than one, but in different parts and folders)
      • a file named "skinid.lang" (in distrib/skins)
        • The file contains properties of the skin name, fallback skin. The fallback skin may be only one, and if it does not exist (or a value does not exist), a default value is used.
          #Example
          name = American English 
          fallback = en_GB
          
      • a folder named "skinid_lang" (in distrib/skins)
        • The folder contains parts of the skins in different files with extension .part. If a value is present in more than one file, one of the values is chosen (no matter which) It is advisable parts to be in different files grouped by functionality for example, but this should not be mandatory.
          • Lines of the part files may be the following
            • id : type : value - Where id is the id of the element, for the internationalization the type is "text"
        • The internationalization should include the following: titles in the application and tooltips
    • Skin choosing
      • A file named "skin.conf" in distrib/conf will show which skin is chosen
        • Lines starting with "#" should be allowed and treated as comments
        • For now only language will be chooseable (a line in the file with the following synthax "language = skinid)