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

Truncated translation token #16

Open
gaetan-petit opened this issue Jan 16, 2019 · 4 comments
Open

Truncated translation token #16

gaetan-petit opened this issue Jan 16, 2019 · 4 comments

Comments

@gaetan-petit
Copy link

When downloading, translation tokens get truncated:

community_agenda.title

becomes

agenda.title

I don't know why the domain + 2 chars are supposed to get substr() as we never have the domain in the translation token.

Any idea @prolic ?

@prolic
Copy link
Collaborator

prolic commented Jan 16, 2019

just put something like "default" in your token as domain then.

@gaetan-petit
Copy link
Author

@prolic tell me if I'm wrong:

  • The adapter assume that your translation tokens have their domain as a prefix
  • In PhraseApp the tokens are tagged with a tag having the same name as the domain they belong

I'm not sure on how to deal with all the messages that does not have a domain prefix, and how to keep translation having the consistent tag in PhraseApp.

Any advice?

@prolic
Copy link
Collaborator

prolic commented Jan 17, 2019 via email

@gaetan-petit
Copy link
Author

@Nyholm could you help?

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