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

Merging not working #17

Open
MFlisar opened this issue Nov 7, 2017 · 4 comments
Open

Merging not working #17

MFlisar opened this issue Nov 7, 2017 · 4 comments

Comments

@MFlisar
Copy link

MFlisar commented Nov 7, 2017

The plugin has no mergin function correct?

So if I add strings locally and a translator worked on my project and I call sync, all strings I have added in the meantime are gone.

Will this functionality be added?

@MFlisar MFlisar changed the title Merging Merging not working Nov 7, 2017
@rubyluk
Copy link
Contributor

rubyluk commented Nov 8, 2017

After you add source strings locally, please use send strings function to send new strings to OneSky before sync translations back to local so that your local copy of source strings would not be overwritten.

To add translations, you can use the OneSky platform. In project overview, click on the language you want to add translations on and you will see the translation tool. Using send strings in plugin to send translations is an Admin action that is designed to overwrite existing translations of OneSky project in bulk.

@MFlisar
Copy link
Author

MFlisar commented Nov 8, 2017

Is it save to send my local strings before syncing? Won't this ever overwrite translated strings with old ones I have locally?

@rubyluk
Copy link
Contributor

rubyluk commented Nov 8, 2017

There's a file selection list In send strings function. In normal situation, users just need to send their source files which are under values/ folder and should not send translation files back to OneSky. We recommend to only include translation files in send strings when you have some updates on translations that need to be done in IDE instead of online translation tool we provide e.g. bulk change of variables, formatting changes.

Send local strings in source files would not overwrite translations. Just need to make sure you have only the checkboxes of source files checked. It is safe to send local strings in source files before syncing.

@MFlisar
Copy link
Author

MFlisar commented Nov 8, 2017

Sometimes I update translated files myself locally as well. This means, I should work like following:

Use case 1 - I want to update translated strings and have new local strings

  • upload the main string file (the one maintained by myself which is not translated by your service) via "send strings"
  • afterwards, call "sync translations" to make sure, all my local strings are up to date
  • now I can adjust translated files as well and then I should upload them immediately afterwards again

Use case 2 - I only changed strings in my local main file

  • simply call "send strings" and select the main local string file only

Is this correct?

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