Skip to content

Add internationalization for third-party styles#137

Merged
monperrus merged 1 commit intomonperrus:masterfrom
frederikmoellers:master
Sep 8, 2025
Merged

Add internationalization for third-party styles#137
monperrus merged 1 commit intomonperrus:masterfrom
frederikmoellers:master

Conversation

@frederikmoellers
Copy link
Copy Markdown
Contributor

The styles JanosBibliographyStyle and VancouverBibliographyStyle make use of some existing functions (e.g. to create the list of authors) which in turn use internationalization (__()). However, several language-specific strings are hard-coded in these styles.

When using translations, these two styles result in garbeled language. The list of authors will have proper translation (e.g. a German "und" instead of the english "and" between the last two authors), but then things like "Master's Thesis", "vol." (for the journal volume) and "pp." (for the page numbers) is not translated.

This PR adds the missing calls to the internationalization functions for all relevant strings.

Added proper internationalization for JanosBibliographyStyle and
VancouverBibliographyStyle. Translation of strings like "in", "Master's
Thesis" etc. was missing.
@monperrus monperrus merged commit a8c24da into monperrus:master Sep 8, 2025
1 check passed
@monperrus
Copy link
Copy Markdown
Owner

Thanks a lot @frederikmoellers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants