Required tools: text editor or XML editor that supports reading and writing UTF-8 encoded XML files.
All the XML files are in the ShopFactory installation folder. The required changes should be made before running ShopFactory. Please make sure that ShopFactory is not currently running on your computer.
Required changes
This will result in the new language being available for selection in the Translation Languages dialog in ShopFactory.
Languages.xml
- - Open Windows Explorer and locate the "Languages.xml" file. By default it is located at C:\Program Files\ShopFactory V10\ShopFactory
- - Make a backup copy of "Languages.xml" file - right click on the file » click Copy » right click within the directory » click Paste. A new file wil be created called "Copy of Languages.xml"
- - Right click on the "Languages.xml" file » select "Open With" » Notepad.
- - Choose an appropriate existing language to use as a base
- - Copy the entire contents of the Language tag of the base language
- - Paste the code below the base language
- - Change the Iso639 attribute of the pasted code to the correct ISO639 code. You can Google the ISO639 code for the specific language you are after. For example, I want to add "Tagalog" language so its ISO 639 code is " tl"
- - Translate the texts between the ‹Tag id...› and the ‹/Tag›
- - Change the following with the name of the new language, in its native language, and its English equivalent. For example, from:
‹Name Native="English " English="English US"/› to
‹Name Native="Tagalog" English="Filipino Tagalog"/›
Save the file and close Notepad.
Recommended changes
Currency.xml
- Choose an appropriate existing language to use as a base (same one as the one chosen in Languages.xml)
- Copy the entire contents of the Language tag of the base language
- Paste the code below the base language
- Change the Iso639 attribute of the pasted code to the same one used for the new language in Languages.xml
- Translate the value of all the LongName tags in the new language
Regions.xml
- Choose an appropriate existing language to use as a base (same one as the one chosen in Languages.xml)
- Copy the entire contents of the Language tag of the base language
- Paste the code below the base language
- Change the Iso639 attribute of the pasted code to the same one used for the new language in Languages.xml
- Translate the value of all the name attributes in the new language
Optional changes
NewShop.xml
- Changing this will affect the default values when creating a new project
Features.xml
- Changing this will affect the List of Features functionality