Page 1 of 1

Lng file and "where is it" in interface

Posted: 07 Feb 2013 21:49
by DmFedorov
Dear translators.

1) I first translated this program (at that time was no lng file).
Almost all placements of lng lines in the interface I know, but some of them I had never seen. Some have seen, but now it is not possible to see them. (total 456 items, almost 1 of 10 items)

The file "marked_English_8.23.lng" will help you see those lines (if they are) direct in interface of program.
You can see all invisible strings with Filter [¤©¬¶] in ITT, where
¤ - Duplicate
© - lost strings, that I've seen before.
¬ - new strings
¶ - old strings

The file "Where-Is-It.txt" will help you see location of lng-lines in the interface of program in "suggestions box" ITT. You must connect file as dictionary to ITT. (enter it name in ITT.ini)
Information will help those who want improve translation, knowing where and how to see the line and which part of other line is this line.
Of course, this "suggestions" window is not designed for this. The portion of the string is not visible.(you can copy it).
In this file you can see invisible strings marked ---­­­¦¤­­­ ---¦© ---­­­¦¬ ---­­­¦¶

If you find this feature useful, or rather unnecessary - tell your opinion.
And if you find 'invisible' string tell others how you can see it and where it appears.


The information can be displayed in another window- in the Notes panel (that nobody uses)
If we will have filter then we can see together e.g. all ITT items that placed in different parts of lng file (or Status bar strings, or context menu).

2) The second what I want from Don is reorganisation of lng file.

If you take a close look at the "Where-Is-It.txt" file you will see that it was made for this. It is fully sorted by location. This is why the menu and other places have strange supplement begins with the symbol ¢AAA_. It is letters-sorting (26 symbols instead 10 for numbers)
If all [messages] and [core] items will placed in theirs form (with hints {ms} and {co}) then lng file will be stable (not one lng-file version for one XYplorer version) and at the same time, all items will sorted in the order in which they appear in the dialogues and menus.
Such order we have in Customize Keyboard shortcuts. And nobody will say that it is bad.
marked_English_8.23.lng
(902.18 KiB) Downloaded 416 times

Re: Lng file and "where is it" in interface

Posted: 07 Feb 2013 23:49
by Marco
2) The second what I want from Don is reorganisation of lng file.
If I understand correctly what Don told me ( http://www.xyplorer.com/xyfc/viewtopic. ... 195#p81141 ), the lng file is optimized for performances and not for user accessibility.

Re: Lng file and "where is it" in interface

Posted: 08 Feb 2013 00:58
by DmFedorov
He says: How does it work? Translations are looked up in a ordered dictionary by ultra-fast binary search.
. Nothing more
From experience I know that the place where concrete string is in a language file does not play a special role. Already dozens of times that was: one and the same string is in the [form] then in [messages] then in [core] and then deleted.
The work and mess it adds.
If all the strings will located in their places then he and we obtain the order and nothing will be lost.
Performance you know depend of size. The order of lng.file for program is formality.

Re: Lng file and "where is it" in interface

Posted: 13 Feb 2013 17:24
by DmFedorov
2013.03.02 was found:
---------------------
[core].free
[core].Unknown:
[core].<catalog item;~s>
[core].FAIL (verification failed)
[form 5].lbl.caption:00|This feature is disabled!
[messages]. No Associations Found
[messages].<$undo> canceled by user.
[messages].Can't handle
[messages].Clone<#>
[messages].Copy &Path{menuitem}
[messages].Copying the selected item(s) is not allowed.
[messages].Could not create path:
[messages].Cutting the selected item(s) is not allowed.
[messages].E&xit (without Saving)
[messages].Favorite Files
[messages].Favorite Folders
[messages].File types in <$group>\\nExtension, type name, OS-associated application
[messages].Find Files Type Filter
[messages].Icons in the System Image List (aka Shell Icon Cache)
[messages].Image area too large to preview.
[messages].Invalid start position:
[messages].It is not allowed to have the same tabset in both panes.
[messages].NOT <$attr>
[messages].No file types defined for filter <$f>.
[messages].No, I won't let you delete a drive...
[messages].Please unlock the trial version under the Help menu.\\n\\nIf you haven't purchased a license yet: Click OK to open the online order page.
[messages].Random
[messages].Rename target exists already:
[messages].Select Application
[messages].System Image List
[messages].Tabsets listed:
[messages].The first <#> <icon;~s> ordered by index
[messages].The last tab cannot be closed.
[messages].Trial Version Expired
[messages].Unsorted
[messages].Verification Failed
[messages].Version
[messages].between <$date1> and <$date2>
[messages].default Folder View defined
[messages].default Folder View removed
[messages].folder view applied
[messages].icon size (<#>x<#>)
[messages].restore failed
[messages].small

Re: Lng file and "where is it" in interface

Posted: 02 Mar 2013 12:49
by DmFedorov
Where-Is-It_(8.26_lng)_txt.7z
(100.91 KiB) Downloaded 434 times
marked_English(v8.26).lng
(905.47 KiB) Downloaded 416 times
You can see all invisible strings (in marked_English(v8.26).lng) with Filter [¤®©¬¶] in ITT, where
¤ - Duplicate
® - reproducible in old version
© - lost strings, that I've seen before.
¬ - new strings (after v.9.30)
¶ - old strings

Now in "Where-Is-It"-file for lost strings you can see version of XYplorer in which this string appears.

Re: Lng file and "where is it" in interface

Posted: 25 Aug 2014 19:32
by DmFedorov
¶ - I've not seen, but have translated.
¬ - I've not translated, because have not seen.
€ - Duplicate.
© - lost strings, that I've seen in old version.
® - reproducible in old version.

Re: Lng file and "where is it" in interface

Posted: 19 Sep 2014 17:56
by DmFedorov
New file

Re: Lng file and "where is it" in interface

Posted: 24 Feb 2022 13:22
by DmFedorov
English_marked_8-143.lng
(1.11 MiB) Downloaded 210 times