Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing option for GBP currency #486

Closed
heyitsols opened this issue Jan 6, 2020 · 18 comments
Closed

Missing option for GBP currency #486

heyitsols opened this issue Jan 6, 2020 · 18 comments
Labels

Comments

@heyitsols
Copy link

Choosing alternative languages changes the currency, however there is only one option for English which uses USD

@berrnd berrnd added the question label Jan 6, 2020
@berrnd
Copy link
Member

berrnd commented Jan 6, 2020

Choosing alternative languages changes the currency

No. There is a separate setting for the currency:

grocy/config-dist.php

Lines 34 to 38 in d4bec3b

# To keep it simple: grocy does not handle any currency conversions,
# this here is used to format all money values,
# so doesn't matter really matter, but should be the
# ISO 4217 code of the currency ("USD", "EUR", "GBP", etc.)
Setting('CURRENCY', 'USD');

@berrnd berrnd closed this as completed Jan 6, 2020
@heyitsols
Copy link
Author

Ah I see, so it is not configurable in the GUI by the user, but instead in the server settings? Thanks for replying

@berrnd
Copy link
Member

berrnd commented Jan 6, 2020

Ah I see, so it is not configurable in the GUI by the user, but instead in the server settings?

Yes, the same as for all options in the config.php file...

@jamesgeddes

This comment was marked as off-topic.

@kaidobit

This comment was marked as off-topic.

@gingerbeardman

This comment was marked as off-topic.

@berrnd

This comment was marked as off-topic.

@gingerbeardman

This comment was marked as resolved.

@berrnd

This comment was marked as resolved.

@gingerbeardman

This comment was marked as resolved.

@berrnd

This comment was marked as resolved.

@gingerbeardman

This comment was marked as resolved.

@Deanmrd
Copy link

Deanmrd commented Nov 21, 2022

where is the file [config-dist.php] cannot seem to find it.

@berrnd
Copy link
Member

berrnd commented Nov 21, 2022

where is the file [config-dist.php] cannot seem to find it.

In the root directory, on the same level where the public, services and all the other directories are - content of the latest release ZIP:

grafik

But that's not the one you should edit, you need to copy that to data/config.php and edit that one - exactly that is also mentioned in README: https://github.com/grocy/grocy#how-to-install

Copy config-dist.php to data/config.php + edit to your needs

@VNRARA
Copy link

VNRARA commented Apr 30, 2023

Choosing alternative languages changes the currency, however there is only one option for English which uses USD

For NLD there's no EUR as currency

@berrnd
Copy link
Member

berrnd commented Apr 30, 2023

For NLD there's no EUR as currency

To clarify this once more here:

The config.php setting CURRENCY is completely unrelated to any user language setting. And of course EUR or USD or any ISO 4217 currency code (as mentioned in the config.php setting comment) is valid and can be used there.

@KoenDG

This comment was marked as off-topic.

@berrnd

This comment was marked as off-topic.

@grocy grocy locked and limited conversation to collaborators Jan 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

No branches or pull requests

8 participants