Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Usage with gem tolk #877

Open
jhovad opened this issue Feb 15, 2021 · 0 comments
Open

Usage with gem tolk #877

jhovad opened this issue Feb 15, 2021 · 0 comments

Comments

@jhovad
Copy link

jhovad commented Feb 15, 2021

I know it's not an issue directly of spree_i18n, but I think it's more related to this one than to tolk ... And I think tolk is so handy, it's nice to have the possibility to integrate.

The problematic parts from tolk:
https://github.com/tolk/tolk/blob/9c6fc6cd23c467049f97a613617e4bd0ac3fdde6/lib/tolk/sync.rb#L15
-> raise:
NoMethodError: undefined method `initialized?' for #I18n::Backend::I18nDataBackend:0x00007faa7e1b7670

https://github.com/tolk/tolk/blob/9c6fc6cd23c467049f97a613617e4bd0ac3fdde6/lib/tolk/sync.rb#L28
-> raise:
NotImplementedError: NotImplementedError
/Users/josef/Documents/Develop/bellinda-spree/vendor/tolk/lib/tolk/sync.rb:29:in `load_translations'

I suspect that those methods (initialized?, load_translations) should be included here from Base:

Anyway ... I have no clue how to fix it. :-(

In case you consider it's more tolk issue, it's also very valuable information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant