• Lexical
Show / Hide Table of Contents
  • Lexical.FileSystem
    • Introduction
    • Abstractions
      • IFileSystem
        • IFileSystem
        • IFileSystemBrowse
        • IFileSystemCreateDirectory
        • IFileSystemDelete
        • IFileSystemFileAttribute
        • IFileSystemMount
        • IFileSystemMove
        • IFileSystemObserve
        • IFileSystemOpen
      • IEvent
      • IEntry
      • IOption
      • IToken
    • FileSystem
    • VirtualFileSystem
    • MemoryFileSystem
    • EmbeddedFileSystem
    • HttpFileSystem
    • Decoration
    • IFileProvider
    • Utility
      • DisposeList
      • FileScanner
      • VisitTree
      • File Operation
  • Lexical.FileProvider
    • Introduction
    • Package
    • Package.Abstractions
    • Root
    • Zip
    • Dll
    • SharpCompress
    • SharpZipLib
    • FileScanner
    • Utils
  • Lexical.Localization
    • Introduction
    • Tutorial
    • Asset
      • IAsset
      • IStringAsset
    • Line
      • ILine
      • ILineFactory
      • ILineRoot
      • ILineFormat
      • ILineLogger
      • LineComparer
    • File
      • ILineReader
      • ILineWriter
      • Ini
      • Json
      • Xml
      • Resx
      • Resources
    • Miscellaneous
      • Plurality
      • ICulturePolicy
      • IStringFormat
      • Dependency Injection
    • Practices
      • Class Library
      • Class Library DI
      • Class Library DI opt.
  • Lexical.Utilities
    • Introduction
    • UnicodeString
    • FileScanner
    • Permutation
    • Tuples
    • StructList

Overall

Localization tool reads inputs from different sources, from localization files and by scanning .dll files for inlined strings. It then regroups the localization lines according to configuration and outputs the combined content into new localization files.

flow chart

Command-Line

Argument -h prints help.

Lexical.Localization.Tool -h
Command line tool help. (Click here)

Argument -a prints attributions and 3rd party library licenses.

Lexical.Localization.Tool -a

Tool can be run from command-line with arguments.

Lexical.Localization.Tool -l -e -v -s:**.dll -S:**.zip/** -o:localization.ini

Levers can be coalesced. -levos adds logging (-l) of messages and errors (-e) with verbosity (-v) to console, localization outcome to console (-o), and scans (-s) inlined strings from **.dll files.

Lexical.Localization.Tool -levos

Configuration

Tool can also be ran with a configuration file which allows more detailed behavior.

Lexical.Localization.Tool config.json

Configuration file(s) can be combined with command-line arguments.

Lexical.Localization.Tool -lev scanning.json 

Multiple configuration files can be imported.

Lexical.Localization.Tool logging.json scanning.json conversion.json

Configuration files can be searched with file pattern(s).

Lexical.Localization.Tool **.json **.xml **.ini

Examples for each file format. Note, that most lines are not necessary, but are showed here as an example.

  • json
  • xml
  • ini
Back to top Copyright © 2015-2020 Toni Kalajainen