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

Teams needs to be translated #155

Open
xlcrr opened this issue Jan 23, 2021 · 3 comments
Open

Teams needs to be translated #155

xlcrr opened this issue Jan 23, 2021 · 3 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@xlcrr
Copy link
Member

xlcrr commented Jan 23, 2021

https://github.com/OpenLitterMap/openlittermap-web/tree/master/resources/js/views/Teams

Please use descriptive keys like teams.total-photos instead of teams.title-1

@xlcrr xlcrr added good first issue Good for newcomers help wanted Extra attention is needed labels Jan 23, 2021
@vijaya-lakshmi-venkatraman

HI,
A newbie to OpenLitterMap here.
Please can you help me understand a little more about the changes so I can try to fix it?

@jpablogomezb
Copy link
Contributor

Hello @vijaya-lakshmi-venkatraman
Thank you for your interest. To add a new language:

In https://github.com/OpenLitterMap/openlittermap-web/tree/master/resources/js/langs

  1. You have to copy the folder 'en' as a reference.
  2. Rename it using the short code for the language name. (Ref: ISO 639).
  3. Modify (translate) the values of the json files.
  4. Update index.js

Cheers!

@jpablogomezb
Copy link
Contributor

Another option is to add a new language using this file, and then someone can pass it into the code in the way I described above.

https://airtable.com/invite/l?inviteId=invooqVMIlQhyHcQy&inviteToken=cc4d36216d5a7a78be587281a080d6a265e81ac258c8c8e118a99ea5568ee02f

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants