Bug 86896 - FRAMEWORK: Command line help not translated
Summary: FRAMEWORK: Command line help not translated
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: framework (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: Other All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Commandline
  Show dependency treegraph
 
Reported: 2014-12-01 09:26 UTC by Olivier Hallot
Modified: 2024-05-20 12:36 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Hallot 2014-12-01 09:26:30 UTC
Invoking LibreOffice from the command line with option "--help" shows help only in english.

Step to reproduce: Open a command prompt and call "soffice.exe --help" for Windows or "soffice --help" for Linux.

Only the explanation needs translation, not the parameters.

The correct translation should be picked from prompt locale.

Current output:

--------------------8<-------------------

olivier@olivier-ntbk:~$ soffice --help
LibreOffice 4.3.4.1 bc356b2f991740509f321d70e4512a6a54c5f243

Usage: soffice [options] [documents...]

Options:
--minimized    keep startup bitmap minimized.
--invisible    no startup screen, no default document and no UI.
--norestore    suppress restart/restore after fatal errors.
--quickstart   starts the quickstart service
--nologo       don't show startup screen.
--nolockcheck  don't check for remote instances using the installation
--nodefault    don't start with an empty document
--headless     like invisible but no userinteraction at all.
--help/-h/-?   show this message and exit.
--version      display the version information.
--writer       create new text document.
--calc         create new spreadsheet document.
--draw         create new drawing.
--impress      create new presentation.
--base         create new database.
--math         create new formula.
--global       create new global document.
--web          create new HTML document.
-o             open documents regardless whether they are templates or not.
-n             always open documents as new files (use as template).

--display <display>
      Specify X-Display to use in Unix/X11 versions.
-p <documents...>
      print the specified documents on the default printer.
--pt <printer> <documents...>
      print the specified documents on the specified printer.

(snip)
--------------------8<-------------------
Comment 1 Jean-Baptiste Faure 2014-12-06 21:13:49 UTC
I think it has always been the case.
So set version to inherited from OOo.

Best regards. JBF
Comment 2 Alex Thurgood 2015-01-03 17:41:26 UTC Comment hidden (noise)
Comment 3 QA Administrators 2016-01-17 20:05:27 UTC Comment hidden (noise)
Comment 4 Jean-Baptiste Faure 2016-01-24 21:27:35 UTC
Still not translated in master.

Best regards. JBF
Comment 5 QA Administrators 2017-10-23 14:05:20 UTC Comment hidden (noise)
Comment 6 Jean-Baptiste Faure 2017-10-29 07:47:07 UTC
Still not translated in LO 5.4.2 and master under Ubuntu 16.04.

Best regards. JBF
Comment 7 QA Administrators 2018-10-30 03:57:04 UTC Comment hidden (noise, obsolete)
Comment 8 Jean-Baptiste Faure 2019-01-06 20:37:45 UTC
Still reproducible with LO 6.2.0.1.0+ under Ubuntu 18.04

Best regards. JBF
Comment 9 QA Administrators 2021-01-06 03:59:30 UTC Comment hidden (noise)
Comment 10 Olivier Hallot 2021-01-13 19:45:19 UTC
hardcoded in core/desktop/source/app/cmdlinehelp.cxx
Comment 11 QA Administrators 2023-01-14 03:25:54 UTC Comment hidden (noise)