LibFredo6 User Manual - English - V3.4 - 14 Sep 09
LibFredo6 User Manual - English - V3.4 - 14 Sep 09
LibFredo6 User Manual - English - V3.4 - 14 Sep 09
2. Installation
The LibFredo6 plugin works for Sketchup versions 5 (>= 5.160), 6 and 7 (Free and Pro). To install it, you should unzip1 the file you downloaded (LibFredo6_xx.zip in principle) into the Sketchup Plugins folder. This operation should do the following: Copy one script file LibFredo6.rb to the Sketchup Plugins folder: Create a sub-folder LIBFREDO6_Dir_xx, containing the library files, the icons and cursor files, language files, as well as the documentation in PDF format. Below is the footprint for a Windows PC2 after installation of version 3.4:
In Winzip, make sure you do a Select All, and then Extract in the Plugins folder, answering YES to all prompts for file overwriting, so that you create or properly copy the folder hierarchy. On Mac, the directory is: Macintosh HD/Library/Application Support/Google SketchUp 7/SketchUp/plugins
Page 1 / 5
3. LibFredo6 utilities
LibFredo6 creates a menu entry LibFredo6 Settings. in the Sketchup Windows menu. It provides some configuration parameters common to all plugins.
1) Setting the language preferences The dialog box allows setting up one or several language preferences. This setting is persistent across Sketchup sessions.
By default, it will set up the language of your operating system, if recognized. Note that language preferences are used in cascade. If you choose [HU, DE, FR], it means that for each string it will take the first translation found in Hungarian, then in German, then in French and then in the default language (which happens to be English). 2) Default Parameters LibFredo6 holds a few parameters which are common to all plugins, such as the Inference colors. You can modify them via the dialog box Default Parameters.
Page 2 / 5
The principle is to translate FROM WITHIN the application, via the dialog box Language Translation. You must NOT edit the files manually3. NOTE to Mac users: there may remain some problems with WebDialogs on the Mac Platform. In principle, many issues were fixed in version 3.1f, but we never know!
The reason is that the files still keep an ASCII format where all diacritic and double-bytes characters are encoded in a special ASCII format.
Page 3 / 5
1) Using the Translation Dialog Box Below is the Translation Box for LibFredo6. You normally have one for each plugin that will use LibFredo6.
First, select the target language using the Combo box on the top-left of the dialog box. If your language is not predefined, you can create a new one, by selecting New Language. This will show another dialog box where you can define the new language: ISO code, native name and English name.
Page 4 / 5
The Default Language strings are shown in Blue, with an arrow. You can however show other languages too, if it helps, by typing their ISO codes separated by space in the field on the top right of the dialog box. You have then just to type the translation in the fields. - You do NOT need to put backslash in front of diacritic characters (accentuated). Just type the string naturally in your language. - You can use single quote (). - Be careful with angular brace (< and >), because it may interfere with HTML. I would recommend not to use them for the time being. - Strings not translated yet are highlighted in Green cells - Strings just modified and not saved yet are highlighted in yellow - The button Save changes just do a saving, but doe not exit the window. Use the button Close to exit.
Once you have translated strings (some or all), you can already see some of this translation active in the Plugin. Note however that the full integration of new translation may only take place when you restart Sketchup (in particular for all menu strings and toolbar tooltips). 2) Publishing the Language file Your effort to translate is valued as a contribution to the Sketchup community. So, what I suggest is to: - post the language file .lang on the Sketchucation forum (Ruby section or language-specific sections) for others to share - inform me by PM or on the forum, so that I can integrate the language in the standard distribution.
Page 5 / 5