portfolio-performance / portfolio

Track and evaluate the performance of your investment portfolio across stocks, cryptocurrencies, and other assets.
http://www.portfolio-performance.info
Eclipse Public License 1.0
2.77k stars 580 forks source link

French numpad emiting a dot as a decimal symbol. #3780

Open DaveInDev opened 5 months ago

DaveInDev commented 5 months ago

On my french keyboard, when I use the numpad to type a decimal symbol, I get a dot "." and the software is unhappy because it seems that in the french settings, it's expecting a ",". But then if I change the language to english, the numpad still emits a dot ".", as you expect in english, and there is no more problems...

Expected behavior When language is set to french,the numpad decimal should be interprated as a ",".

Desktop (please complete the following information):

mierin12 commented 4 months ago

Hello @DaveInDev , I do not have a solution, however it looks similar to this : https://github.com/portfolio-performance/portfolio/pull/2826 Would the French + Belgian setting be similar to your need ? I am actually now using this setting myself as it is indeed rather practical.

I have quickly checked, in such Belgian setting, a dot is accepted as a decimal separator in most (but not all) locations:

2024-03-01 19_28_01-Portfolio Performance 2024-03-01 19_30_08-Portfolio Performance 2024-03-01 19_34_35-Portfolio Performance 2024-03-01 19_35_51-Portfolio Performance Capture d'écran 2024-03-01 194845

DaveInDev commented 4 months ago

I'll try this setting, thanks.

DaveInDev commented 2 months ago

hi, alas I still do not find a solution for this problem. In french, or french/belgium, the decimal separator is still a comma, and my french numerical keyboard still emits a dot... Maybe, could it be possible to add a setting defining the decimal separator used as input and also display ? For the moment, I have to use the software with an english setting, that uses the dot as a decimal separator.