In May this year the awesome team at StudioPress released a new, shiny update of the Genesis Sample Theme. Among other nice new features they added an accessible mobile menu (yay!).
An issue I ran into was how to translate the word “Menu” to Swedish, but the solution turned out to be more straight-forward than it seemed at first.
Create the .po-file for your new theme translation
The word is added to the mobile menu in functions.php, so technically you could change it there. But since this term is also translatable, the best way is to create the translation file for your new theme. So go ahead and do that in case you had not planned to do so already for some reason.
Genesis Sample has a .pot-file prepared for translations in the languages-folder. I use the paid version of Poedit to translate my WordPress themes.
This way the translation for a smaller theme is done in a matter of minutes, especially if you have your own version of the Genesis Sample theme prepared for this. (You can fork it on GitHub and add it to your project as a submodule when working on a client site).
So all in all, this was one of those ‘doh’-moments. It would have taken care of itself once I had updated the translation file with the new changes. But hey, sometimes it is a little twig that trip you. And knowing myself I might scratch my head over this again next time I start a new project on Genesis Sample, hence this note.