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

Translation #99

Closed
differentreality opened this issue May 8, 2014 · 6 comments
Closed

Translation #99

differentreality opened this issue May 8, 2014 · 6 comments
Assignees
Labels
feature 💡 For something new in the app

Comments

@differentreality
Copy link
Contributor

Setting up translation tool for OSEM.

Transifex is for free for open source projects:
https://www.transifex.com/projects/p/osem

But I have no idea how to produce the initial translation file that must be uploaded in transifex, so that the translation can begin.
Supported formats for translation file:
http://docs.transifex.com/developer/formats/

@GBratsos
Copy link

GBratsos commented May 8, 2014

You can use l10n.js on osem's strings in order to read the language of the browser and get osem automatically translated to the translated languages on Transifex.

https://github.com/eligrey/l10n.js/

@hennevogel
Copy link
Member

The "normal" rails translation uses yaml files.

http://guides.rubyonrails.org/i18n.html
http://docs.transifex.com/developer/formats/yaml

@GBratsos
Copy link

GBratsos commented May 8, 2014

Transifex supports yaml files. We have to create the strings in en-US format and send it to transifex.

@hennevogel
Copy link
Member

This is live now, although broken as it can't read the api key from the config.

@differentreality
Copy link
Contributor Author

To translation you need to navigate from project's page as following: https://www.transifex.com/organization/opensuse-community/dashboard/osem -> Translation button -> Select language -> Select Resource

Assuming you have signed up yourself as a translator for OSEM, to translate in German, for example, you go to:
https://www.transifex.com/projects/p/osem/translate/#de_DE/eventsopensuseorg/31056760

In order for the translations to be visible, they need to be deployed:
https://www.transifex.com/projects/p/osem/live/#en/events.opensuse.org
In settings (top right icon) -> 'Take Live' -> Select the languages -> Publish

If we have published translations, we should be seeing a language selector (bottom right corder).

@hennevogel
Copy link
Member

Works now

cycomachead added a commit to cycomachead/osem that referenced this issue Mar 10, 2022
…ob_active_record-4.1.5

Update delayed_job_active_record: 4.1.4 → 4.1.5 (patch)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature 💡 For something new in the app
Projects
None yet
Development

No branches or pull requests

3 participants