github-readme-stats icon indicating copy to clipboard operation
github-readme-stats copied to clipboard

No translation of text in brackets

Open Candice-Louw opened this issue 2 years ago • 1 comments

Describe the bug

Translation of text in brackets does not seem to occur, irrespective of the set locale. By default, it is always displaying in English. The rest of the text is translating fine.

This is applicable to the (last year) sub-string in the Contributed to (last year) string as displayed on the github-stats-card.

Expected behaviour

Text between brackets should be translated based on the set locale.

Screenshots / Live demo link

Example locale=de image

Example locale=fr image

Example locale=nl image

Additional context

Current card with locale=de Candice's GitHub stats

Candice-Louw avatar Nov 25 '22 11:11 Candice-Louw

@Candice-Louw Thanks for your bug report. That text was recently added, so I didn't yet make it translatable. We are currently updating the translation system, which will ease the process, so I will probably add it after that is done (see https://github.com/anuraghazra/github-readme-stats/issues/2053).

rickstaa avatar Nov 25 '22 13:11 rickstaa

Will be fixed in https://github.com/anuraghazra/github-readme-stats/pull/2708.

rickstaa avatar May 08 '23 07:05 rickstaa