You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Translation to other languages (e.g portuguese) #2136
There's already a reasonable amount of the architecture in place to support this 🙂
If you look in each engine (ShinyBlog, ShinyPages, etc) there's an en.yml file in plugins/[PluginName]/config/locales that contains all the English language strings that can be easily translated by the existing code if somebody makes a file for a new language in the same directory containing the translated strings - e.g. copy en.yml to pt.yml and put the Portuguese translations in there.
Contributions of translation files would be really really gratefully accepted! Especially Spanish and Portuguese, as they're so widely-spoken around the world.
I'm not sure what happens if there's only some phrases translated but not all of them - I think it's set up so you can fall back to another language, with it defaulting to English if all else fails, but if you start adding translations and it doesn't seem to be working right I'd be really happy to try to help you figure out what's missing - and maybe improve the documentation for adding translations. Or ask you to improve the documentation, as it'll be fresh in your mind 😄
I can translate portuguese, will start this night or tomorrow morning. It's a pleasure to help improve this project (even tough i plan to use it as well).
I think we're in a race now... I need to finish and merge the work I'm doing to extend the functionality in the feature/shop-product dev branch before you start doing the Shop plugin translation 😉 At least it's last on your list, that gives me some chance! 😆 Although I think all the other ones are quite small in comparison.
Activity
denny commentedon Sep 12, 2025
There's already a reasonable amount of the architecture in place to support this 🙂
If you look in each engine (
ShinyBlog,ShinyPages, etc) there's anen.ymlfile inplugins/[PluginName]/config/localesthat contains all the English language strings that can be easily translated by the existing code if somebody makes a file for a new language in the same directory containing the translated strings - e.g. copyen.ymltopt.ymland put the Portuguese translations in there.Contributions of translation files would be really really gratefully accepted! Especially Spanish and Portuguese, as they're so widely-spoken around the world.
I'm not sure what happens if there's only some phrases translated but not all of them - I think it's set up so you can fall back to another language, with it defaulting to English if all else fails, but if you start adding translations and it doesn't seem to be working right I'd be really happy to try to help you figure out what's missing - and maybe improve the documentation for adding translations. Or ask you to improve the documentation, as it'll be fresh in your mind 😄
MrBowmanXD commentedon Sep 12, 2025
I can translate portuguese, will start this night or tomorrow morning. It's a pleasure to help improve this project (even tough i plan to use it as well).
MrBowmanXD commentedon Sep 16, 2025
Will do the translation of other plugins to portuguese
MrBowmanXD commentedon Oct 23, 2025
List of plugins translations in portuguese:
MrBowmanXD commentedon Oct 23, 2025
I can create instructions for people to reference how to do a translation in the future.
denny commentedon Oct 23, 2025
I think we're in a race now... I need to finish and merge the work I'm doing to extend the functionality in the
feature/shop-productdev branch before you start doing the Shop plugin translation 😉 At least it's last on your list, that gives me some chance! 😆 Although I think all the other ones are quite small in comparison.MrBowmanXD commentedon Oct 23, 2025
Nice. It's okay i can wait 🙂 I have a bit of free time left but i can study ruby in order to delve deeper.
MrBowmanXD commentedon Oct 23, 2025
Might need some guidance to review the translation on the browser.