Max Loeb
Max Loeb
> Client-side localization via extensions Okay, fine. > Error codes Wait, what's wrong with error codes? As long as we're not changing the public response and it's just something we...
Oh, I should mention that PHP actually does have a built-in mechanism for doing localization. There's a method called [gettext](https://www.codeandweb.com/babeledit/tutorials/translation-with-gettext-and-php), which sort of ties into a larger ecosystem of tooling....
@danilobuerger Hey there, I only just noticed this issue, but I was the one that added the transform stuff back then, and I'm trying to update my own code to...
Gotcha. Can I ask what solution you went with?
Right, I'm using that too, but how did you extract the graphql queries and replace them with query ids?
Also, did you find any way use the string template style? ``` var document = gql`query... `; ```
No worries, that's good enough. I have a custom plugin, myself. Thanks.
@sebastianbergmann I see you closed this as completed... what was the resolution? Were any changes made?
> I tried to create a PR to fix this, but it's a bit hard for me. Some code directly references methods on [Introspection](https://github.com/search?q=repo%3Awebonyx%2Fgraphql-php%20%22Introspection%3A%3A%22&type=code) that return the cached definitions. Why...
@koenpunt Thoughts?