Skip to content
This repository has been archived by the owner on Jun 18, 2019. It is now read-only.

Number zero will wrong translated #543

Closed
approached opened this issue Jan 24, 2019 · 2 comments · Fixed by #576
Closed

Number zero will wrong translated #543

approached opened this issue Jan 24, 2019 · 2 comments · Fixed by #576
Assignees

Comments

@approached
Copy link

Hi all

I have to two languages and the fallback language is english. This package can not translate a zero as number(string).

Database:
screen shot 2019-01-24 at 11 40 05

Tinker:

>>> app()->setLocale('de');
=> null
>>> AttributeValue::find(14)->value;
=> "naanaa"

If i change the zero number it will be work.

@Gummibeer
Copy link
Collaborator

duplicates #393

@Gummibeer
Copy link
Collaborator

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants