BlocksCAD 1.8.5 Release Notes
Translating BlocksCAD
First, download this file of strings. (if the file opens in a new tab, you can right-click->"save as" to download it to your computer). You'll be editing this file to change the english words into the language you're translating to. You can edit this file with any text editor, like notepad or Word or vim or sublime.
In this file there are comments that help you understand what a string is used for; these lines start with '//' or '///'.
There are also lines with strings surrounded by single quotes, highlighted in the text below.
// Shapes (2D and 3D)
/// Sphere Block - block that produces a sphere
Blockscad.Msg.SPHERE = 'sphere';/// Radius - the distance from the center of a circle or sphere to its edge
Blockscad.Msg.RADIUS = 'radius';
Translate the strings inside the single quotes to your target language. The file should then look like this (example from our chinese translation):
// Shapes (2D and 3D)
/// Sphere Block - block that produces a sphere
Blockscad.Msg.SPHERE = '球体';/// Radius - the distance from the center of a circle or sphere to its edge
Blockscad.Msg.RADIUS = '半径';
If you see a string that has an image tag <img> , don't change it. This is a tooltip that links to an image and we will handle this translation.
Some strings have placeholders for other values - these placeholders look like %1, %2, %3, etc. You can move these placeholders around in the string to match your translation but don't remove them.
Only want to change a couple of strings? Email us the changes in this format: old_string -> new_string
That's it! When you're done, email the file to us at info@blockscad3d.com. Please let us know what language you've translated it into. We should have it released to the site within about a week.