codevise / pageflow-before-after

Page type for displaying before/after images.
0 stars 6 forks source link

missing translations #4

Closed kerygmafabian closed 9 years ago

kerygmafabian commented 9 years ago

I installed & configured this gem like described in the readme. Functionality does work, but in the editor i get a [missing "de.pageflow.before_after.page_type_name" translation] message instead of the label.

I see there is a localization file in config/locales/de.yml Any hint how to include this locale file?

Thanks!

tf commented 9 years ago

Someone reported a similar issue after upgrading the pageflow gem once: codevise/pageflow#100. If I remember correctly, the problem could be solved by enough server restarting and sweeping cache files.

kerygmafabian commented 9 years ago

Thanks for pointing to this thread. Like back then for thy1985 removing tmp/cache/assets/development/sprockets and restarting server worked for me.

Maybe you should add a note to readme?

tf commented 9 years ago

Well yeah, this is more a general issue with the i18n-js gem I guess. There is a trouble shooting wiki page in the pageflow GitHub wiki. Maybe we should add a note there and link to the page from the before-after README?

kerygmafabian commented 9 years ago

yes, i would agree that this issue is not from pageflow itself. Having a note on the trouble shooting page is a good idea - i ran into the other issues mentioned there while installing pageflow itself.

Setting links on the before-after and external-links READMEs are helpful then.

tf commented 9 years ago

Done.

kerygmafabian commented 9 years ago

Thanks :)