Incorrect comma on decimal in GNUCash for Mac Big Sur

If you’re encountering an issue with an incorrect comma on the decimal in GNUCash for Mac Big Sur, don’t worry! Here’s a step-by-step guide to help you address this problem.

Method 1: Terminal Commands

  1. Open the Terminal application on your Mac. You can find it in the “Utilities” folder within the “Applications” folder.
  2. Run the following command in the Terminal:
1
defaults write -app Gnucash AppleLocale 'en_DE@currency=IDR'

This command sets the AppleLocale for GNUCash to ’en_DE’ with the currency as ‘IDR’.

  1. To delete the AppleLocale setting, use the following command:
1
defaults delete -app Gnucash AppleLocale

Please note that the above steps might not work on Big Sur. In that case, you can try the following alternative method:

Method 2: Recovery Mode

  1. Shutdown your Mac.
  2. Hold the CMD+R keys and press the Power button to start your Mac.
  3. Continue holding CMD+R until you see the Apple logo.
  4. Login using your credentials.
  5. Go to “Utilities” in the top menu bar and select “Terminal.”
  6. In the Terminal, enter the following commands one by one:
1
2
csrutil disable
reboot
  1. After rebooting, login to your Mac.
  2. Open Terminal again.
  3. Enter the following commands:
1
2
3
4
5
6
7
8
sudo mount -uw /
sudo
cd /usr/share/locale
sudo cp -R en_US en_ID
cd en_ID
rm LC_MONETARY
cp ../en_US.ISO8859-1/LC_MONETARY ./
sudo vim LC_MONETARY
  1. In the Vim editor, replace commas (,) with periods (.) and periods (.) with commas (,) using the find and replace feature. To do this, type the following command in Vim:
1
2
:%s/,/\./g
:%s/\./,/g
  1. Save the changes and exit Vim. To save and exit, type the following commands in Vim:
1
:wq
  1. Start GNUCash, and the decimal commas should now be corrected.

Feel free to use this information as a guide to fix the incorrect decimal comma issue in GNUCash on Mac Big Sur.

0%