Feature #88

support for localizable documentation

Added by J. Templ about 3 years ago. Updated about 3 years ago.

Status:ClosedStart date:12/01/2015
Priority:NormalDue date:
Assignee:J. Templ% Done:

90%

Category:-
Target version:1.7
Forum topic:

Description

The menu items 'Info->Documentation' and 'Info->Search in Docu (xxx)' should support localizing the documentation according to the selected language.
The support should be added in the same way as used by Dialog.LoadStringTab for localizable Strings resources.
A proposal for the changes by Helmut Zinn and Fyodor Tkachov exists in CPC 1.7 rc6.

Refers to CPC 1.7 rc6 change list number 50.

Associated revisions

Revision 2087a4ca
Added by J. Templ about 3 years ago

support for localizable documentation. Refs: #88.
As proposed by Helmut Zinn in CPC 1.7 rc6 plus:

1. reuse of open documentation window for 'Info->Documentation' as in 'Info-> Repository',
2. window title of window opened by 'Info_>Dopcumentation' expanded to include full module name.

Signed-off-by: Josef Templ <>

Revision 87259f7b
Added by J. Templ about 3 years ago

Docu files looked up in language subdirectory first. Refs: #88.
If a non-standard language is selected in 'Edit->Preferences', the commands StdCmds.OpenBrowser and StdCmds.OpenAuxDialog look up a Docu file first in the language subdirectory. If it is not found, the standard language is used.
DevReferences and DevSearch adapted to this change.
Docu of StdCmds and StdApi updated.

Signed-off-by: Josef Templ <>

Revision 5bde9153
Added by J. Templ about 3 years ago

function FileExists introduced. Refs: #88.
This keeps the changes closer to the original BB 1.6.
If language mapping is to be used for other commands as well, this can
easily be turned on by means of the parameter useLang.
Plus: mapping of .../Docu/en/... to .../Docu/... if language mapping is used.
This forces the use of a docu file in the default language (en).
References of the form .../Docu/<language>/... are not mapped and can be used to force
the use of a docu file in the specified language.

Signed-off-by: Josef Templ <>

Revision 6103c8bc
Added by J. Templ about 3 years ago

File "Tour.odc" moved to "Docu". Refs: #88.
This allows for localization of Tour.odc without any special case for the BlackBox root directory.

Signed-off-by: Josef Templ <>

Revision 67d89b1e
Added by J. Templ over 2 years ago

parameter 'source' must not be ignored in DevSearch.ThisText. Refs: #88.
StdApi uses the name 'useLang' for the same kind of parameters.
Therefore it has been renamed from 'source' to 'useLang' and the meaning is inverted.
Searching in Mod (source code) is language independent now.
Searching in Docu is still language dependent.

Signed-off-by: Josef Templ <>

Revision 6f02274b
Added by Douglas G Danforth over 2 years ago

Merge pull request #122 from BlackBoxCenter/issue-#88

parameter 'source' must not be ignored in DevSearch.ThisText. Refs: #88.

Revision 40ef58ae
Added by J. Templ over 2 years ago

Procedure Find must use Kernel.Upper instead of CAP. Refs: #88.
Plus: docu improved for SearchInDocu.

Signed-off-by: Josef Templ <>

Revision 5c983582
Added by Douglas G Danforth over 2 years ago

Merge pull request #125 from BlackBoxCenter/issue-#88

Procedure Find must use Kernel.Upper instead of CAP. Refs: #88.

History

#1 Updated by I. Denisov about 3 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 90

Also available in: Atom PDF