-
Notifications
You must be signed in to change notification settings - Fork 333
Add I18n support #163
Comments
I implemented the i18n support in my fork of this gem (https://github.com/nunopolonia/spree_static_content) |
@nunopolonia , It would be great to also have a translation for the 'LAYOUT' field |
@j540 can you open an issue on my fork and I will implement it ASAIC? |
I must be missing something, but it seems that issues are disabled on your fork. |
You're right @j540. They're up now |
@nunopolonia nice i18n support in your fork, the problem is just how to deal with the migration if someone don't want to use But I think this gem can be more globally useful if it has i18n support per default and use |
Hello, any chance to see @nunopolonia code in the main repo? |
👍 on this one. Please add support for spree_i18n and spree_globalize. |
Hi, |
Hi all, encountered as I wanted to use in my localised Spree store. Thank you @nunopolonia, your work was a great starting point and I just forked the latest of this repo, copied his changes, then did some relevant tweaks to the versions I use in my project:
You can see here my fork here: https://github.com/Whelton/spree_static_content To update anyone else, they abstracted the model translation bits out of spree-contrib/spree_i18n and put them in a separate gem spree-contrib/spree_globalize The only caveat I can see is that in my version of Happy to make an update to be good with |
Nice work @Whelton |
spree_static_content would provide greater support for international shops if the extension supports spree_I18n. Especially I'm lacking translations of paths for a static page, e.g. '/welcome', '/willkommen', '/bienvenue'.
One way to handle this is to create several pages, which makes updating through tools like Locale a clunky job. The spree products creation process is a good role model for creating a static page with translations:
What is your opinion about the idea? How do you guys handle static pages and I18n?
The text was updated successfully, but these errors were encountered: