View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006447 | Taler | Merchant frontends (Python3) | public | 2020-07-28 16:45 | 2021-08-24 16:23 |
Reporter | MS | Assigned To | MS | ||
Priority | high | Severity | feature | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Product Version | git (master) | ||||
Target Version | 0.8 | Fixed in Version | 0.8 | ||
Summary | 0006447: i18n for demo sites and PyBank needed. | ||||
Description | Using the same technology used for the main Taler site. | ||||
Tags | No tags attached. | ||||
|
Torsten's branch has an updated design for this, but the overall deployment structure likely needs a major adjustment... |
|
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. |
|
That is implemented here: 68914c1ef908e115af6dadbad809251ff82f8f2e, for the Python bank. |
|
With this commit: 0649fb37a5dbd75e98b842ede5daf6ddecba8526, seemingly all the strings to translate from the bank got wrapped into the "gettext()" call. |
Date Modified | Username | Field | Change |
---|---|---|---|
2020-07-28 16:45 | MS | New Issue | |
2020-09-05 13:50 | Christian Grothoff | Severity | minor => feature |
2020-09-06 13:52 | Christian Grothoff | Assigned To | => Christian Grothoff |
2020-09-06 13:52 | Christian Grothoff | Status | new => assigned |
2020-09-06 13:53 | Christian Grothoff | Note Added: 0016886 | |
2020-10-11 20:55 | Christian Grothoff | Note Added: 0017008 | |
2020-10-11 20:55 | Christian Grothoff | Assigned To | Christian Grothoff => MS |
2020-10-11 20:56 | Christian Grothoff | Priority | normal => high |
2020-10-11 20:56 | Christian Grothoff | Product Version | => git (master) |
2020-10-11 20:56 | Christian Grothoff | Target Version | => 0.8.1 |
2020-10-11 21:02 | Christian Grothoff | Summary | i18n for demo sites needed. => i18n for demo sites and PyBank needed. |
2020-10-11 21:17 | Christian Grothoff | Category | other => Merchant frontends (Python3) |
2020-10-19 15:43 | MS | Note Added: 0017022 | |
2020-10-20 15:28 | MS | Note Added: 0017023 | |
2020-10-20 15:29 | MS | Status | assigned => resolved |
2020-10-20 15:29 | MS | Resolution | open => fixed |
2020-10-20 20:33 | Christian Grothoff | Fixed in Version | => 0.8 |
2020-10-20 20:33 | Christian Grothoff | Target Version | 0.8.1 => 0.8 |
2021-08-24 16:23 | Christian Grothoff | Status | resolved => closed |