User tests: Successful: Unsuccessful:
So we're going with ini files and keys....
We could include a language switcher with flags - that would look nice on a slide, don't you think ? ;)
Totally!
Well I did not know that we have decided to drop usage of ini :( #124 is the final decision? What is the right way of language string usage?
Nevermind I found it :)
// template.twig
<label>
My String
// change to:
{{ translate("My String") }}
// **OR** just use a pipe and a shortcut:
{{ "My String"|_ }}
</label>
That's the cool thing about this project. The right way is what we decide. We aren't stuck in the confines of another application's structure or required to use the tools of a single entity, we can implement what we want and how we want, and if something on the market doesn't suit our needs, we can just as easily write it ourselves.
Amen :)
Nevermind I found it :)
Oh that's what you meant by "right" :)
He needs to sync up the branch, your PR to fix that is merged.
Yeah, that's why I was wondering if I am the only one....
@test
works as expected.
Not tested with a non-english language ;)
Not too shabby
At a glance it's looking good. I'll pull it down shortly and test it.