-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
Custom invoice numbers break multi-language website #75
Comments
Hi @jan-herman, thanks for your question. You are right. In multi-language sites such things as custom invoice numbers should always be stored in the default language. So I’m wondering why your approach of setting the languageCode in the update method doesn’t work. Can you please double-check if the To make sure you always use the default language, you can do the following:
|
Hi, Anyway |
Hi @jan-herman, |
Hi, We might revisit this issue when we do the update to Kirby 5. From what I understand the team has made some changes to the way the hooks work so it may resolve itself. |
Hi there,
I have a multi-language website (default language: czech, secondary: english) and I followed this cookbook recipe to add custom invoice numbers to orders: https://merx.wagnerwagner.de/cookbooks/custom-invoice-numbers.
In czech everything works as expected, but every time order is submitted in english, order.en.txt is created with following content:
While in order.cs.txt the Invoicenumber is missing.
I tried specifying locale like this, but that didn't work either.
Am I missing something or is this a bug related to #62?
The text was updated successfully, but these errors were encountered: