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

Keep empty locale string #465

Open
azatkama opened this issue Oct 19, 2017 · 0 comments
Open

Keep empty locale string #465

azatkama opened this issue Oct 19, 2017 · 0 comments

Comments

@azatkama
Copy link

azatkama commented Oct 19, 2017

I have a translation of the phrase
If I delete the locale string of the phrase and run translation:extract command again,
the phrase is filled with id
can you add here https://github.com/schmittjoh/JMSTranslationBundle/blob/master/Model/Message.php#L377
a check for a new message? like this
if ($this->isNew() && !$this->getLocaleString()) { $this->localeString = $message->getLocaleString(); }
thank you

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

1 participant