Bug 144536 - Calc 'Function Wizard' provide alternative-linked non-localized version of the Function name
Summary: Calc 'Function Wizard' provide alternative-linked non-localized version of th...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.2.0.4 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Function-Wizard
  Show dependency treegraph
 
Reported: 2021-09-16 10:55 UTC by Karl
Modified: 2021-09-17 14:20 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
description (89.15 KB, image/png)
2021-09-16 10:56 UTC, Karl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Karl 2021-09-16 10:55:38 UTC
Description:
Hi folks

I am a "home user" of calc / LO. In an "aerlier life i got some programming knowledge ( C ).
I am german and use the german localised version of LO.

SO, i might us the formula "WURZEL()" // as a translation of ROOT //
to calculate any ROOT of a number.

SO far so good.

---------------------

A lot of "calc developers" might have some programming experiences as well
and might remember ENGLISH EXPRESSIONS of a function needed.

allthough the are working an a localized version (hebrew / arabic, french or what ever is thinkable.

-------------

Looking for a function might be easier HAVING A SEARCH IN ENGLISH TOO /SIDE by SIDE ( english stands here for programming language experience )

IN PARALLEL to the localised versions of the function names
to search for.

----------------------

FOr example: 

The user might look for "Wurzel()", but just remembers "SQRT()"
....

Have a look to the uploadet grafics file.

you will see.

kind regards
jk











Steps to Reproduce:
1.
2.
3.eom

Actual Results:
eom

Expected Results:
eom


Reproducible: Always


User Profile Reset: No



Additional Info:
eom
Comment 1 Karl 2021-09-16 10:56:39 UTC
Created attachment 175066 [details]
description
Comment 2 Karl 2021-09-16 11:01:10 UTC
HI again

I do "state" here anyhow, that the "english funcion names" are THAT CLOSE to any known programming language,

because more or less every Prog Lang is designed in ENGLISH.

regards
jk
Comment 3 V Stuart Foote 2021-09-16 15:44:20 UTC
Agree, the localized/translated function is not always the way a user is going to identify the desired function. 

Could either extend the listing (with no-translate marks for the en-US core function names); or provide the Function Wizard UI with a separate non-translated list box for selection?
Comment 4 Ming Hua 2021-09-17 07:06:58 UTC
Hi Karl,

I agree with you that being able to see both the English and localized function names in Function Wizard is a nice enhancement.

However what you may not know is that Calc already supports *using* English function names in otherwise localized UI.  The option is at Tools > Options dialog, LibreOffice Calc > Formula > Formula Options > Use English function names.  Once you enable this option, you can use SQRT() instead of WURZEL() (but not both) in your German localized Calc.  I haven't checked how this option would affect the Function Wizard, though.
Comment 5 Karl 2021-09-17 07:18:28 UTC Comment hidden (noise)
Comment 6 Heiko Tietze 2021-09-17 07:29:58 UTC
Wouldn't bloat the functions list with non-localized variants but silently accept the English names when it's entered into a cell. Could also imagine a kind of auto correction from sqrt to wurzel, see bug 90074 for this. 

The English function names translates sqrt to wurzel and vice versa (but not always, see bug 135993). So it might be not too much effort.
Comment 7 Eike Rathke 2021-09-17 10:52:06 UTC
While searching for both English and translated names in the Function Wizard might be possible, as we could have some control over which language a list entry belongs to and thus when selected may use the current (either localized or English) setting's name, entering arbitrary names in formulas is a bad idea. A translation's function may have the same name as an English function name but be a completely different function, and vice versa.

For this, this bug's title/summary change is now what is not going to be implemented.
Comment 8 Heiko Tietze 2021-09-17 10:56:56 UTC
As for the function wizard I wouldn't over-engineer and return WURZEL when searching for SQRT. Switching the language on-the-fly might be an option. Putting all together I'm rather for WF.
Comment 9 Ming Hua 2021-09-17 11:43:14 UTC
(In reply to Heiko Tietze from comment #8)
> As for the function wizard I wouldn't over-engineer and return WURZEL when
> searching for SQRT.
When I concurred in comment #4, I was thinking more like a disabled by default option in the Function Wizard UI, "Also show English function name", and displays "WURZEL [SQRT]" instead of "WURZEL" if enabled, while also matches searching for either "wurzel" or "sqrt".

I have no idea how much work it would take to implement that, of course.
Comment 10 Karl 2021-09-17 12:50:55 UTC Comment hidden (noise)
Comment 11 Karl 2021-09-17 14:01:35 UTC Comment hidden (noise)
Comment 12 Karl 2021-09-17 14:20:25 UTC Comment hidden (noise)