View Issue Details

IDProjectCategoryView StatusLast Update
0006447Talertaler-merchant-demospublic2021-08-24 14:23
ReporterMS Assigned ToMS Resolution deadline
ImplementerReviewer 
Release signed byDeployed by 
VerifierCommunicator 
Data protection authority notification requiredNo  
CSIRT notification requiredNo  
Estimated effort (hours)Actual effort (hours)0 
Fast-trackNo
Work packagenone
PriorityhighSeverityfeatureReproducibilityhave not tried
Status closedResolutionfixed 
Product Versiongit (master) 
Target Version0.8Fixed in Version0.8 
Summary0006447: i18n for demo sites and PyBank needed.
DescriptionUsing the same technology used for the main Taler site.
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

Christian Grothoff

2020-09-06 11:53

manager   ~0016886

Torsten's branch has an updated design for this, but the overall deployment structure likely needs a major adjustment...

Christian Grothoff

2020-10-11 18:55

manager   ~0017008

This is done, except for the bank. Marcello, would you have time to look at i18n for the pybank?
Specifically, we need to:
1) add the /<lang>/ prefix to all URLs that are user-facing and pass the selected language to the templating logic
2) redirect / to /$LANG/ where $LANG is to be based on the accept-language header of the user and our available languages
3) integrate pybabel into the build system logic to extract strings from .py and .j2 files
4) migrate the existing .html templates to .j2 templates and add the gettext markers around the text to translate

Marcello, I suspect you would be faster at (1) and (2) than I am because you are more familiar with that part of the code.
If needed, I can do 3+4 reasonably well.

MS

2020-10-19 13:43

reporter   ~0017022

That is implemented here: 68914c1ef908e115af6dadbad809251ff82f8f2e, for the Python bank.

MS

2020-10-20 13:28

reporter   ~0017023

With this commit: 0649fb37a5dbd75e98b842ede5daf6ddecba8526, seemingly all the strings to translate from the bank got wrapped into the "gettext()" call.

Issue History

Date ModifiedUsernameFieldChange
2020-07-28 14:45MSNew Issue
2020-09-05 11:50Christian GrothoffSeverityminor => feature
2020-09-06 11:52Christian GrothoffAssigned To => Christian Grothoff
2020-09-06 11:52Christian GrothoffStatusnew => assigned
2020-09-06 11:53Christian GrothoffNote Added: 0016886
2020-10-11 18:55Christian GrothoffNote Added: 0017008
2020-10-11 18:55Christian GrothoffAssigned ToChristian Grothoff => MS
2020-10-11 18:56Christian GrothoffPrioritynormal => high
2020-10-11 18:56Christian GrothoffProduct Version => git (master)
2020-10-11 18:56Christian GrothoffTarget Version => 0.8.1
2020-10-11 19:02Christian GrothoffSummaryi18n for demo sites needed. => i18n for demo sites and PyBank needed.
2020-10-11 19:17Christian GrothoffCategoryother => Merchant frontends (Python3)
2020-10-19 13:43MSNote Added: 0017022
2020-10-20 13:28MSNote Added: 0017023
2020-10-20 13:29MSStatusassigned => informing
2020-10-20 13:29MSResolutionopen => fixed
2020-10-20 18:33Christian GrothoffFixed in Version => 0.8
2020-10-20 18:33Christian GrothoffTarget Version0.8.1 => 0.8
2021-08-24 14:23Christian GrothoffStatusinforming => closed
2026-08-23 14:16Florian DoldCategoryMerchant frontends (Python3) => taler-merchant-demos