Lng file and "where is it" in interface

Where developers, translators, and users meet...
Post Reply
DmFedorov
Posts: 468
Joined: 04 Jan 2011 16:36
Location: Germany

Lng file and "where is it" in interface

Post by DmFedorov » 07 Feb 2013 21:49

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 177 times
Attachments
Invisible_lng_strings_2013.02.13.txt.7z
(6.06 KiB) Downloaded 188 times
Where-Is-It_2013.02.13.txt.7z
(#3, for version 8.23)
(102.98 KiB) Downloaded 190 times
Last edited by DmFedorov on 13 Feb 2013 17:26, edited 2 times in total.

Marco
Posts: 2256
Joined: 27 Jun 2011 15:20

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

Post by Marco » 07 Feb 2013 23:49

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.
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

DmFedorov
Posts: 468
Joined: 04 Jan 2011 16:36
Location: Germany

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

Post by DmFedorov » 08 Feb 2013 00:58

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.

DmFedorov
Posts: 468
Joined: 04 Jan 2011 16:36
Location: Germany

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

Post by DmFedorov » 13 Feb 2013 17:24

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
Last edited by DmFedorov on 02 Mar 2013 13:12, edited 1 time in total.

DmFedorov
Posts: 468
Joined: 04 Jan 2011 16:36
Location: Germany

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

Post by DmFedorov » 02 Mar 2013 12:49

Where-Is-It_(8.26_lng)_txt.7z
(100.91 KiB) Downloaded 192 times
marked_English(v8.26).lng
(905.47 KiB) Downloaded 176 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.

DmFedorov
Posts: 468
Joined: 04 Jan 2011 16:36
Location: Germany

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

Post by DmFedorov » 25 Aug 2014 19:32

¶ - 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.
Attachments
Where-Is-It_8-51.zip
(182.96 KiB) Downloaded 109 times

DmFedorov
Posts: 468
Joined: 04 Jan 2011 16:36
Location: Germany

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

Post by DmFedorov » 19 Sep 2014 17:56

New file
Attachments
Where-Is-It_8-52.zip
(183.25 KiB) Downloaded 110 times

Post Reply