Skip to content

Usage with gem tolk #877

@jhovad

Description

@jhovad

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions