View Issue Details

IDProjectCategoryView StatusLast Update
0010790Talermerchant backendpublic2025-12-19 19:21
ReporterStefan Assigned ToStefan  
PrioritynormalSeveritytrivialReproducibilityalways
Status assignedResolutionopen 
Product Version1.2 
Target Version1.4 
Summary0010790: Merchant Backoffice: The order details need internationalisation tags
DescriptionOn the page 'Order details' we can read many strings that have not been internationalised, although the strings are used at different places throughout the Merchant Backoffice SPA and, thus, have been translated. It would be very easy and quick to put them into tags, so that they can replay the translations in the poedit files.
Steps To ReproduceLook at the "Orders" page and review one payment done for an order. The title is "Details of order", followed by a plurality of English phrases and expressions. All of them require the tags. Some of the strings may be new and are therefore untranslated (as they have not been synchronised with Weblate, of course).
Additional InformationAdjusted description and reduced priority to normal and severity to trivial [SK on Dec 18].
TagsNo tags attached.
Attached Files

Relationships

related to 0010630 closedvecirex Set my.taler-ops.ch live [done in principle by this morning: still solving deps; work parallelized] 
related to 0010819 confirmed show the QR of orders 
has duplicate 0010788 resolvedStefan Transaction receipts received upon payment are always in EN lang 

Activities

sebasjm

2025-12-19 13:32

developer   ~0027134

This is not part of the backoffice SPA, this page is a mustache template so the i18n is not the same and it won't be as trivial as the other.

I think we need to create one template for lang and backend should render based on http request headers.

On the other hand, this is not a screen that the merchant needs in any way. This screen is a fallback when there is no javascript enabled.

sebasjm

2025-12-19 13:45

developer   ~0027135

With 0010819 the merchant should not be redirected to this pages.

Customer may be redirected to this pages but this is unlikely if merchant is using templates feature or is using a frontend like drupal.

Nevertheless, we should start from the backend. I see a "en" suffix on the files but I wonder if this is really supported.

sebasjm

2025-12-19 13:52

developer   ~0027136

Last edited: 2025-12-19 13:53

Looks like yes, lookup_template checks for MHD_HTTP_HEADER_ACCEPT_LANGUAGE.

The building process of the merchant-backend-ui doesn't support it. It only create .en.html files.

sebasjm

2025-12-19 16:01

developer   ~0027140

db8bee9b9..1ae203ea5 add supports for i18n

@Stefan you have to know add a new project to weblate. This one is located at packages/merchant-backend-ui

I still have to mark all the strings present in this projects for translation

sebasjm

2025-12-19 19:21

developer   ~0027141

1ae203ea5..5d969971b 50 strings marked for translation

After these are translated to DE assign it back to me so I can complete the process and verify that all is ok @stefan

Issue History

Date Modified Username Field Change
2025-12-16 21:46 Stefan New Issue
2025-12-16 21:46 Stefan Status new => assigned
2025-12-16 21:46 Stefan Assigned To => sebasjm
2025-12-16 21:46 Stefan File Added: Hacktivism_Test_Order_Details_not_internationalised.png
2025-12-16 21:46 Stefan Relationship added related to 0010630
2025-12-16 22:20 Stefan Relationship added related to 0010788
2025-12-17 10:27 Christian Grothoff Target Version 1.3 => 1.4
2025-12-18 07:42 Stefan Priority high => normal
2025-12-18 07:42 Stefan Severity text => trivial
2025-12-18 07:42 Stefan Additional Information Updated
2025-12-18 07:47 Stefan Relationship replaced has duplicate 0010788
2025-12-19 13:32 sebasjm Note Added: 0027134
2025-12-19 13:37 sebasjm Relationship added related to 0010819
2025-12-19 13:45 sebasjm Note Added: 0027135
2025-12-19 13:52 sebasjm Note Added: 0027136
2025-12-19 13:53 sebasjm Note Edited: 0027136
2025-12-19 13:53 sebasjm Category merchant backoffice SPA => merchant backend
2025-12-19 16:01 sebasjm Note Added: 0027140
2025-12-19 19:21 sebasjm Note Added: 0027141
2025-12-19 19:21 sebasjm Assigned To sebasjm => Stefan