What are the Slack Archives?
Itβs a history of our time together in the Slack Community! Thereβs a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.
Because this space is not active, you wonβt be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..
Hello all, I have a problem with TransChoice This piece of code : ``` {% transchoice r
Comments
-
seems lke the glossary translations are missing. you probably have to trigger the storage export (again), given that translations haved already been created.
0 -
actually when I search for the glossary in Zed I find it π
0 -
but most likely not in Redis ...
0 -
why only these two ?!
0 -
I will try to put a translation that I am sure I see
0 -
π
0 -
either run
vendor/bin/console sync:data
or evenvendor/bin/console event:trigger -r translation
to force publish/sync again (don't forget to run the queue worker, if it is not already)0 -
I am trying now
0 -
thanks π
0 -
when I run this
vendor/bin/console event:trigger translation
0 -
i get an error
0 -
Symfony\Component\Console\Exception\RuntimeException - Exception: Too many arguments, expected arguments "command". in /data/shop/development/current/vendor/symfony/console/Input/ArgvInput.php (188) Command: vendor/bin/console event:trigger translation
0 -
sorry, it's actually
vendor/bin/console event:trigger -r translation
0 -
I see
0 -
thanks
0 -
I dont think this will solve the problem
0 -
because just now I tried to use two different translations that I am sure they are loaded
0 -
and again I see the same result ```
5 product_review.summary.title | product_review.summary.reviews```
0 -
π€
0 -
so solution was to use this instead:
{{"product_review.summary.star|product_review.summary.stars"|transchoice(rating) }}
0 -
π
0 -
I actually never used
transchoice
before ...0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 76 Spryker News
- 929 Developer Corner
- 787 Spryker Development
- 89 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 35 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 26 Job Opportunities
- 3.2K π Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 70 Spryker Safari Questions
- 50 Random