• Login
sketchucation logo sketchucation
  • Login
ℹ️ GoFundMe | Our friend Gus Robatto needs some help in a challenging time Learn More

How to convert language for plugin

Scheduled Pinned Locked Moved Plugins
13 Posts 5 Posters 1.2k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    rongvuong
    last edited by 21 Nov 2010, 14:17

    thank you very much
    but I want to use for many other plugins ?

    1 Reply Last reply Reply Quote 0
    • T Offline
      thomthom
      last edited by 21 Nov 2010, 14:41

      How to translate plugins depends on the plugin - there is no unified system. You need to check with each plugin/author.

      Thomas Thomassen — SketchUp Monkey & Coding addict
      List of my plugins and link to the CookieWare fund

      1 Reply Last reply Reply Quote 0
      • T Offline
        TIG Moderator
        last edited by 21 Nov 2010, 15:49

        @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 version 2DtoolsES.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' ?

        TIG

        1 Reply Last reply Reply Quote 0
        • K Offline
          ktslambieng
          last edited by 24 Nov 2010, 02:17

          😛
          how to change languages into ExtrudeTools plugin to Vietnamese

          how can i edit it?!?!?

          1 Reply Last reply Reply Quote 0
          • T Offline
            TIG Moderator
            last edited by 24 Nov 2010, 10:27

            @ktslambieng said:

            😛
            how to change languages into ExtrudeTools plugin to Vietnamese

            how 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... 😉

            TIG

            1 Reply Last reply Reply Quote 0
            • K Offline
              ktslambieng
              last edited by 25 Nov 2010, 02:41

              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

              1 Reply Last reply Reply Quote 0
              • R Offline
                rongvuong
                last edited by 26 Nov 2010, 02:31

                thank you
                please you can write a tut Photos ? ^^
                I can not do it

                1 Reply Last reply Reply Quote 0
                • T Offline
                  TIG Moderator
                  last edited by 26 Nov 2010, 09:12

                  @rongvuong said:

                  thank you
                  please you can write a tut Photos ? ^^
                  I can not do it

                  Can 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 ?

                  TIG

                  1 Reply Last reply Reply Quote 0
                  • K Offline
                    ktslambieng
                    last edited by 26 Nov 2010, 09:26

                    I finished change languages into ExtrudeTools plugin to Vietnamese
                    can u download in
                    http://www.mediafire.com/?5a1hbft2v356gxq

                    thank TIG verry much

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      TIG Moderator
                      last edited by 26 Nov 2010, 09:52

                      @ktslambieng said:

                      I finished change languages into ExtrudeTools plugin to Vietnamese
                      can u download in
                      http://www.mediafire.com/?5a1hbft2v356gxq
                      thank TIG verry much

                      Well 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...

                      TIG

                      1 Reply Last reply Reply Quote 0
                      • R Offline
                        rongvuong
                        last edited by 26 Nov 2010, 14:22

                        thank you very much
                        I understood and did it

                        but with the file don't have "locale"?

                        1 Reply Last reply Reply Quote 0
                        • 1 / 1
                        1 / 1
                        • First post
                          12/13
                          Last post
                        Buy SketchPlus
                        Buy SUbD
                        Buy WrapR
                        Buy eBook
                        Buy Modelur
                        Buy Vertex Tools
                        Buy SketchCuisine
                        Buy FormFonts

                        Advertisement