HOW TO MAKE A NEW LANGUAGE PACK =============================== Version 0.0 (Jan 22 2009) 1 PREREQUISITES 2 PROCEDURES 3 NOTES 4 VERSION HISTORY ================================================================================ 1 PREREQUISITES =============== To make a new language pack for the IP.TV cross-platform client, you need: - The client's source code. - poEdit, an open-source message catalog editor made with wxWidgets, available at http://poedit.sourceforge.net. 2 PROCEDURES ============ Configure poEdit to search where the project sources are located, namely the sources for the iptv_client and skin_lite modules. It will then display a list of translatable strings found in the source code, and an empty space beside each one. Translate them to the desired language in that space, and save the catalog as "iptv.po". To use the new catalog, place the .mo file in a folder named with the language/country ISO code (e.g. ja_JP for Japanese, pt_BR for Brazilian Portuguese, pt_PT for Portuguese), within the "Lang" subfolder of the client binary's folder, e.g. iptv_client/Lang/ja_JP/iptv.mo. That language will then become available for selection in the client. 3 NOTES ======= The message catalog is global for the application. Due to time/human resource constraints, a refinement to the skin system where each skin would need to have its own message catalogs was initially thought out, but was left out in the current version of the project. 4 VERSION HISTORY ================= 0.0 090122 Initial revision.