translate WDX plugins

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
firges
Junior Member
Junior Member
Posts: 13
Joined: 2005-02-07, 16:33 UTC

translate WDX plugins

Post by *firges »

Hi!
How can I translate WDX plugins's columns?
I found in most WDX plugin's directory a *.lng file, but if I edit new lines with my language (hungarian), nothing happens.
I foun a content.ini in TC dir, and there is some line with IMAGESIZE.wdx, there I can change to my language, but that is all, not with the other plugins.
Could anybody help, thanx
User avatar
Lefteous
Power Member
Power Member
Posts: 9536
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2firges
Translating content plugins is quite easy. The content plugin interface includes an built-in translation mechanism.
There is a help file for content plugin writers:
https://plugins.ghisler.com/content/contentpluginhelp.zip

Section 5 explains how translation works.

It would be nice if you send your translation back to the plugin author so he can include your translation in future releases.
User avatar
franck8244
Power Member
Power Member
Posts: 704
Joined: 2003-03-06, 17:37 UTC
Location: Geneva...

Post by *franck8244 »

2firges

The translation is made by TC, it searches in the LNG file the section corresponding to the current language:
If you use WINCMD_HUN.LNG for TC, then it will search for the [HUN] section in the LNG file of the wdx plugin

You have to restart TC to see the "change"

TC will provide you with Hungarian string only when you "create" the field ...
TC#88260 -
firges
Junior Member
Junior Member
Posts: 13
Joined: 2005-02-07, 16:33 UTC

Post by *firges »

Thanks for quick reply!

Must I copy the edited *.lng files to the C:\TC\Language\ folder, or let in the original wdxplug's folder?
User avatar
franck8244
Power Member
Power Member
Posts: 704
Joined: 2003-03-06, 17:37 UTC
Location: Geneva...

Post by *franck8244 »

Let the LNG file in the plugin folder !
TC#88260 -
Post Reply