View Issue Details

IDProjectCategoryView StatusLast Update
0008741Talerlibeufin-bank-ui (SPA)public2024-05-13 21:29
Reportersebasjm Assigned ToStefan  
Status feedbackResolutionopen 
Product Versiongit (master) 
Target Version0.12 
Summary0008741: test how translation context is used (i18n)
Descriptionin weblate
TagsNo tags attached.


related to 0008826 assignedsebasjm pogen should add msgctxt based on the source code 



2024-05-08 16:47

developer   ~0022374

we can use

context can be defined with msgctxt

in weblate we can also see "Source string location" which right now is pointing the the `ts` source. Not very helpful right now but it the future it can be a href where the translator can see pre-made screenshots.

Example of the msgctxt in Weblate:

The bank SPA has the string "send" used in the form for making a wire-transfer. Right now the translator just see the word to be translated.
Msgcxt can be used to clarify in which context this word is being used. And the same word with different context can be distinguish and translate differently if required.

I'm attaching an example of the "string information" section in weblate of an unstraslated string "Send" with msgctxt "wire_transfer".

The context could be any string but we should first implement this in the pogen software to generate that information from the source code.
image.png (34,759 bytes)   
image.png (34,759 bytes)   

Issue History

Date Modified Username Field Change
2024-04-15 20:01 sebasjm New Issue
2024-04-15 20:01 sebasjm Status new => assigned
2024-04-15 20:01 sebasjm Assigned To => sebasjm
2024-04-17 15:16 sebasjm Summary test how transaction context is used => test how translation context is used (i18n)
2024-05-08 16:47 sebasjm Note Added: 0022374
2024-05-08 16:47 sebasjm File Added: image.png
2024-05-08 16:53 sebasjm Relationship added related to 0008826
2024-05-08 16:54 sebasjm Assigned To sebasjm => Stefan
2024-05-08 16:54 sebasjm Status assigned => feedback
2024-05-13 21:29 Christian Grothoff Target Version 0.11 => 0.12