Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to access the localized values for fields #65

Open
ngirard opened this issue Feb 12, 2021 · 2 comments · May be fixed by #69
Open

Ability to access the localized values for fields #65

ngirard opened this issue Feb 12, 2021 · 2 comments · May be fixed by #69
Labels
enhancement New feature or request help wanted Seeking interested developers

Comments

@ngirard
Copy link

ngirard commented Feb 12, 2021

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 ngirard added the enhancement New feature or request label Feb 12, 2021
@argenos argenos added the help wanted Seeking interested developers label Feb 17, 2021
@argenos
Copy link
Owner

argenos commented Feb 17, 2021

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!

@PhilipMottershead
Copy link
Contributor

PhilipMottershead commented Feb 18, 2021

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

@argenos argenos linked a pull request Feb 18, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Seeking interested developers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants