zotero-mdnotes icon indicating copy to clipboard operation
zotero-mdnotes copied to clipboard

Ability to access the localized values for fields

Open ngirard opened this issue 4 years ago • 2 comments

I'm interested in lowering the barrier to good knowledge management for non-english speakers.

In this respect, it would be great to be able to access the localized values for fields such as ItemTypes.

Also, links to english terms make little sense to non-english speakers. For instance, [[Video recording]] does'nt make much sense within in a collection of notes in French, as opposed to [[Enregistrement vidéo]].

Cheers

ngirard avatar Feb 12 '21 16:02 ngirard

I agree that this would be great for non-English notes. Unfortunately, I don't have much time to look into Zotero's code for the localization options, so I would welcome PRs for this!

argenos avatar Feb 17 '21 23:02 argenos

This is fairly simple after worked out how it worked as you can use Zotero.getString() to link to the translation service For example

Zotero.getString('itemTypes.email')

will get the email translation in whatever locale they user is in

PhilipMottershead avatar Feb 18 '21 14:02 PhilipMottershead