Closed musashimm closed 7 years ago
To get working state you only have to put locales files in locales
directory of franklin app. So if you want I can reedit README.md
files of this extension end franklin's or I can add functionality to after_configuration
method to create such dir if not exists and put yml files there. Or both.
Ok, I see what you mean.
I wonder if there's a way for us to default to the English "Next / Previous" text, if their site doesn't have anything in their locales directory?
I tried this but it didn't work:
link_to(I18n.t("next_page") || "Next", next_page, options)
I'd like it if Middleman Navtree still worked with English as a a default out of the box, but people could enhance it via the locales
directory like you described. Maybe something in i18n's fallbacks docs can help?
Did as requested.
This looks promising! I should be able to test this later this week. 👍
This works great! Merging. 👍
@musashimm, I'm glad you got this started (for issue #9).
It looks like this still needs some work... we're missing translations for the values you added:
I can't contribute much time to this, but if you can get it into a working state, I'm happy to review and merge. 👍