Localization Bug
Hello,
Thank you for good plugin.
I did add SwimlaneCaptionFormat in localization array as mentioned in example (
SwimlaneCaptionFormat: "- {{:count}}{{if count == 1 }} artículo {{else}} artículos {{/if}}",
). But it's return syntax error, unexpected ':' on my laravel7 project, how can i use it.
Thank you in advance.
SIGN IN To post a reply.
3 Replies
IS
Indrajith Srinivasan
Syncfusion Team
October 25, 2021 11:05 AM UTC
Hi Milan,
Greetings from Syncfusion support,
We have validated your reported query “But it's return syntax error, unexpected ':' on my laravel7 project”. We suspect the reported issue occurs, due to improper syntax in the Laravel environment. As per the below Laravel documentation for displaying data using the blade statements uses $ as prefix. Can you try the below suggestion, once from your end ?
Documentation: https://laravel.com/docs/7.x/blade#displaying-data
|
SwimlaneCaptionFormat: "- {{$count}}{{if count == 1 }} artículo {{else}} artículos {{/if}}
|
If you are still facing any issues, can you please share us the following details ?
- Are you facing any issues with the Kanban rendering?
- Code blocks or steps followed when using the Kanban in your application.
- If possible, can you share us a minimal issue reproducing sample replicating the issue from our end.
The above details will be helpful for us, to further validate on the reported issue.
Regards,
Indrajith
MU
Milan Unjiya
October 25, 2021 11:25 AM UTC
Hi Indrajith,
Thank you for reply back soon.
But it's show variable name instead of value.
Thank you again.
Regards,
Milan Unjiya
IS
Indrajith Srinivasan
Syncfusion Team
October 26, 2021 12:54 PM UTC
Hi Milan
Good day to you,
We have further validated on the reported issue, from our end. With the blade template ({{ }}) rendering in Laravel, to remain un-touch the expressions we suggest you to use the symbol @ before the blade templates instead of using the colon(:). Check the below shared documentation for reference.
Code block:
|
SwimlaneCaptionFormat: "- @{{count}}@{{if count == 1 }} artículo @{{else}} artículos @{{/if}}"
|
Regards,
Indrajith
SIGN IN To post a reply.
- 3 Replies
- 2 Participants
-
MU Milan Unjiya
- Oct 22, 2021 05:30 AM UTC
- Oct 26, 2021 12:54 PM UTC