Skip to content

Conversation

@mdomnita
Copy link
Contributor

@mdomnita mdomnita commented May 5, 2017

Added Romanian language and Romanian translation file.

@1ec5
Copy link
Member

1ec5 commented May 6, 2017

Thanks @mdomnita! We manage the translations at Transifex. I’ve added Romanian there, added you as a translator, and imported your ro.json into the project. Please follow these instructions to complete the localization, including updating test fixtures. Thanks again!

@mdomnita
Copy link
Contributor Author

mdomnita commented May 6, 2017 via email

@daniel-j-h
Copy link
Member

👋 any update here?

@mdomnita
Copy link
Contributor Author

mdomnita commented Aug 4, 2017

I finished translating everything on transifex but I don't know what I should do next. When I did the pull request I just added the file and everything was okay but I was not familiar with the system.

Copy link
Member

@1ec5 1ec5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The steps for adding a language are described in the readme. The next step is to generate test fixtures using UPDATE=1 npm test and review the generated strings before checking them in.

@1ec5
Copy link
Member

1ec5 commented Sep 8, 2017

The following steps need to take place before we can add Romanian support:

  1. Translate more strings at Transifex. It looks like some of the files in this PR were translated by hand. That’s unfortunate, because the next time someone runs npm run transifex, your translations will be overridden with English strings automatically.
  2. Run npm run transifex and git checkout the files for other languages.
  3. Run UPDATE=1 npm test and check in the results.

I’d do some of these steps for you, but it looks like you have the “Allow edits from maintainers” option disabled.

@mdomnita
Copy link
Contributor Author

mdomnita commented Sep 14, 2017

Hello @1ec5 . I went to transifex, translated everything. I got the translation json, I will copy it to the new file. When I translated this there was no transifex folder, just the language files that I created a pull request for.
I set “Allow edits from maintainers” , it's checked here .

I tried to do it myself, it went like this:

Please let me know if there's anything else I should try in order to get this merged.

@1ec5
Copy link
Member

1ec5 commented Sep 14, 2017

I set “Allow edits from maintainers” , it's checked here .

Thanks, your code changes look good, so I’ve rebased your commits atop master (v0.7.0), cleaned up the Windows line endings, and update the test fixtures.

I’m not sure what’s causing transifex.js to crash; it’s entirely possible that something in there assumes POSIX paths, since none of this project’s main developers uses Windows.

@1ec5 1ec5 merged commit 266a198 into Project-OSRM:master Sep 14, 2017
@1ec5
Copy link
Member

1ec5 commented Sep 14, 2017

Thanks for your help @mdomnita!

1ec5 added a commit that referenced this pull request Sep 26, 2017
- Added Castilian Spanish localization. #163
- Added Esperanto localization. #162
- Added Romanian localization. #105
- Added Turkish localization. #158
- Added a `language` argument to `capitalizeFirstLetter`, which capitalizes according to that language’s rules. #164
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants