-
Notifications
You must be signed in to change notification settings - Fork 10.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[gatsby-plugin-manifest] internationalization (i18n) #10250
Comments
The
Easiest to implement is to put them all in |
Exactly 👍 I could name it Update: just realized that the array version doesn't work like this as pluginOptions is always an object (right?) so either the multi instance version, or a Update so I fixed my patched version, that's how I did it for now GaiAma/gaiama.org/blob/master/packages/gatsby-plugin-manifest/gatsby-node.js#L86 if pluginOptions.manifests is an array it generates multiple with language suffix otherwise same as before |
Hiya! This issue has gone quiet. Spooky quiet. 👻 We get a lot of issues, so we currently close issues after 30 days of inactivity. It’s been at least 20 days since the last update here. If we missed this issue or if you want to keep it open, please reply here. You can also add the label "not stale" to keep this issue open! Thanks for being a part of the Gatsby community! 💪💜 |
Hey again! It’s been 30 days since anything happened on this issue, so our friendly neighborhood robot (that’s me!) is going to close it. Please keep in mind that I’m only a robot, so if I’ve closed this issue in error, I’m Thanks again for being part of the Gatsby community! |
@pieh I understand the amount of issues being a lot of work, just trying to figure out if I should abandon this PR and keep my fork or if it's still interesting.. |
Did you see these articles? I'm not sure if your current solution is the best one and there is probably the need for more investigation: https://developer.chrome.com/webstore/i18n |
Hiya! This issue has gone quiet. Spooky quiet. 👻 We get a lot of issues, so we currently close issues after 30 days of inactivity. It’s been at least 20 days since the last update here. If we missed this issue or if you want to keep it open, please reply here. You can also add the label "not stale" to keep this issue open! As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request. Check out gatsby.dev/contributefor more information about opening PRs, triaging issues, and contributing! Thanks for being a part of the Gatsby community! 💪💜 |
Thanks for reminding me gatsbot, I think this one can be closed as final discussion happens over at the PR #13471 |
I'm quite new to PWAs, manifests & add-to-homescreen stuff and I'm not 100% sure I get everything. I am not even sure where to discuss my thoughts/questions, a RFC seems to big for this, and I'm not into those chats like spectrum and discord, it's annoying for me to have to check them etc so I'm making this a question for now and see where it goes, hopefully that's okay for everyone else 🙏
Summary
Provide a way for pages to specify separate manifests for each language
Relevant information
That would be one possible solution, maybe a bit verbose/repeating, though you could define your shared base options and then just extend them but it gives a lot of flexibility so people can define different icons, colors etc (proof that icon localization is a thing w3c/manifest#676 (comment))
I would suggest still allowing a single object in options to not break anything.
I run on a patched version I just threw in my local packages workspace GaiAma/gaiama.org@ae194c2#diff-0cee23a635d1c08646f35342b6dee83f which doesn't seem to work properly right now, but it did work…
Another possibility might be to just specify multiple plugin declarations and "just" add a
pattern
property or similar like:So the pattern would specify in gatsby-ssr which to run/include
I'm not sure if the manifests should be then save in the respective language directory all called
manifest.webmanifest
or put them all in/
root and name them differently?Another question I have is, what about the manual trigger stuff and listening on
beforeinstallprompt
in chrome https://developers.google.com/web/fundamentals/app-install-banners/#trigger this plugin should probably support it sooner than later right?Let me know what you think about all this, any suggestions/feedback are really appreciated 🙏
I think I could implement the i18n stuff properly, if it gets accepted and we settled on an implementation as I don't want to keep my local copy up to date.. I might be able to do the trigger stuff, but that could probably enter another PR
The text was updated successfully, but these errors were encountered: