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

Localization #1

Open
WTurunen opened this issue Sep 24, 2014 · 5 comments
Open

Localization #1

WTurunen opened this issue Sep 24, 2014 · 5 comments

Comments

@WTurunen
Copy link
Contributor

Hi,

Any info on how to translate this content type on WordPress?

@fnoks
Copy link
Contributor

fnoks commented Sep 24, 2014

Hi Waltteri,

To be able to answer that, I need some more inputs:

  • What exactly are you trying to translate? The editor texts, the content, the static text displayed when viewing the timeline or something else?
  • Are you using H5P on a multi-language site, or do you have a single non-english language (Finnish)?

Please elaborate, and I will try to give you a solution :)

@WTurunen
Copy link
Contributor Author

I have a single, finnish language site and I'm trying to translate all of the text. :)
Specifically:

  1. the back-end editor text, eg. "Headline", "Body Text", descriptions etc.
  2. the remaining text from viewing the timeline, eg. "Expand timeline", "Return to title" etc.

@fnoks
Copy link
Contributor

fnoks commented Sep 26, 2014

Hi again,

For 1) The translation of the editor texts are part of the H5P, and we need the community to translate the texts to their languages. If you could translate the texts in the following file: https://github.com/h5p/h5p-timeline/blob/master/language/fi.json to finnish, I will publish a new version of the Timeline H5P with this language-file included. If you know github, it's easiest if you do it using a "pull request".

For 2) I have made an option in the Timeline H5P to select the user interface language. Just download the latest vertsion from h5p.org.

@WTurunen
Copy link
Contributor Author

I sent you a pull request. I hope I did it ok. :)
I found that you authored also the image hotspots content type. Can you make me a translatable fi.json to that as well?

@fnoks
Copy link
Contributor

fnoks commented Oct 29, 2014

I have merged the Finnish language into timeline. Only found a small syntax problem which I fixed. I have made a new version of timeline with this file included (available on http://h5p.org/timeline).

I have also added a Finnish language file to the Image Hotspots content type: https://github.com/h5p/h5p-image-hotspots/blob/master/language/fi.json
Feel free to update this file :)

Thank you for your contribution, we really appreciate it!

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

No branches or pull requests

2 participants