How to convert language for plugin
-
Hi,
Browse the zip archive and you'll see some files like 'fur_lang_xx.txt' where xx stands for the country.
Below is the french translation file.Type|Type Density|Densité MaxNumber|Nombre max Length|Longueur RootWidth|Largeur base Stiffness|Raideur TopJitter|Amplitude hauteur WidthJitter|Amplitude largeur StiffnessJitter|Amplitude raideur Divide|Divisions Valid Distance|Distance valide direction|Direction force|Force Make by Component|Générer un composant Units|Unités PRESET?|Sélectionner un réglage
Open such a file in your text editor, and translate the right part of each line, leave the left one unchanged.
Don't forget to post your language file when done !
That's it. -
thank you very much
but I want to use for many other plugins ? -
How to translate plugins depends on the plugin - there is no unified system. You need to check with each plugin/author.
-
@rongvuong said:
thank you very much
but I want to use for many other plugins ?For many of my plugins there are .lingvo files that hold the translations for a companion script
deBabelizer.rb
E.g.2DtoolsEN-US.lingvo
- the US-English version in the 2Dtools sub-folder
has a Spanish version2DtoolsES.lingvo
If a file matching the PC's locale is found that is used in preference to the default.
The translations are one per line, in the lingvo format it's...
The cat<==>El gato
etc
Where one of my plugins supports 'deBabelizing' there are often several lingvo files supplied or added to by users from other locales...
What is your 'locale' ? -
how to change languages into ExtrudeTools plugin to Vietnamesehow can i edit it?!?!?
-
@ktslambieng said:
how to change languages into ExtrudeTools plugin to Vietnamesehow can i edit it?!?!?
Is there a SUp 'locale' version for 'Vietnam'?
Type this in the Ruby Console
Sketchup.get_locale
'VI' is the locale for Vietnam.
If you get this then make a copy of the 'lingvo' file you want to translate [in the ../Plugins/TIGtools/ folder], e.g.
extrudeEdgesByRailsEN-US.lingvo
as
extrudeEdgesByRailsVI.lingvo
NOTE: IF your PC is actually set to the default EN-US locale you can still 'trick it' into displaying a Vietnamese translation by editing that 'lingvo' file [or by making an alternative lingvo to suit your actual locale, e.g. FR ??].
Here we'll assume EN-US... i.e.extrudeEdgesByRailsEN-US.lingvo
is to have your Vietnamese translations added to it [I suggest you make a backup copy of the original file in case you mess up].
To edit the 'lingvo' file you need to open it in a plain-text editor like 'Notepad.exe' - do NOT use a word-processor.
It is a simple text file and is easily changed.
Each line of text represents a word or phrase used in the tool, with its translation; thus:
Extrude Edges by Rails<==>Extrude Edges by Rails
The default version has the same text each side of the 'separator'<==>
So you would choose an appropriate translation for "Extrude Edges by Rails" and add that to the right-hand side of the<==>
- for example:
Extrude Edges by Rails<==>để extrude cạnh dọc theo đường ray
or
Extrude Edges By Rails: Select the 'Profile' Curve...<==>để extrude cạnh dọc theo đường ray: chọn một đường cong để sử dụng cho phun ra các...
[My Vietnamese is NOT very good! As you can see!!]
Remember you might need to adjust your translation to make the text fit into the available space.
Repeat this for all lines until you have a suitable translation of that tool's instructions etc.
Save the 'lingvo' file.
Re-run the tool to see the changes to the text...You will need to do this for each 'extrude.. .lingvo' file in the ../Plugins/TIGtools/ folder that you wish to translate...
When you have your set, then post them here for others to use too...
-
ola la..thank you very much...
I will try to translate it into Vietnamese, and i will port when done
so.again... thank you very much -
thank you
please you can write a tut Photos ? ^^
I can not do it -
@rongvuong said:
thank you
please you can write a tut Photos ? ^^
I can not do itCan you try the steps in the notes I gave and tell me at which step you cannot continue...
For example - can you get your 'locale'?
Can you find the '.lingvo' files etc ? -
I finished change languages into ExtrudeTools plugin to Vietnamese
can u download in
http://www.mediafire.com/?5a1hbft2v356gxqthank TIG verry much
-
@ktslambieng said:
I finished change languages into ExtrudeTools plugin to Vietnamese
can u download in
http://www.mediafire.com/?5a1hbft2v356gxq
thank TIG verry muchWell done.
If other Vietnamese users want these files, then I suggest they download the compressed file and extract them into the TIGtools subfolder in the ../Plugins/ folder. Make a new folder to move the equivalent original files [i.e. extrude...EN-US.lingvo] into first in case you mess up or want to revert to the English versions later...
'ktslambieng' - note that you can attach files [compressed like this] directly to your post...
I have done so for you here... extrudeEdgesTools-VietnameseLingvos.rar
You can always contact 'ktslambieng' by PM for guidance... -
thank you very much
I understood and did itbut with the file don't have "locale"?
Advertisement