WDX: Maximal translation section length for language file

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
User avatar
tbeu
Power Member
Power Member
Posts: 1354
Joined: 2003-07-04, 07:52 UTC
Location: Germany
Contact:

WDX: Maximal translation section length for language file

Post by *tbeu »

Is there a maximal length of the translastion section for a language file of a content plugin? If I use this jpg-comment.lng for ImageMetaData plugin I cannot see the very last multiple choice translation of MultipleChoiceValues_Exif_Photo_Flash (Yes, auto, ret. light det., red-eye red. = Ausgelöst, automa., Rote-Augen-Red., Reflektion erkannt) and the following MultipleChoiceValues_Exif_Photo_Saturation or MultipleChoiceValues_Exif_Photo_Sharpness in the Change Attributes dialog. If the order of the three multiple choice translations is swapped I get other results.

TC8PB18 (x86) on WinXPSP3.
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

AFAIK there is a 64k limit per section for INI-files (LNG files are INI).
User avatar
tbeu
Power Member
Power Member
Posts: 1354
Joined: 2003-07-04, 07:52 UTC
Location: Germany
Contact:

Post by *tbeu »

Yes, I know, but file size is far less then 64k.
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50479
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Currently the translation cache is limited to only 4 kbytes. It's really meant for value names, which shouldn't be entire books...
Author of Total Commander
https://www.ghisler.com
User avatar
tbeu
Power Member
Power Member
Posts: 1354
Joined: 2003-07-04, 07:52 UTC
Location: Germany
Contact:

Post by *tbeu »

ghisler(Author) wrote:Currently the translation cache is limited to only 4 kbytes. It's really meant for value names, which shouldn't be entire books...
Can you please test if translation will be correct if translation cache is increased. If so, can you please increase it permanently. Otherwise I need to stop translation of ImageMetadata plugin.
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
Post Reply