Coder Social home page Coder Social logo

Comments (8)

tvdeyen avatar tvdeyen commented on June 28, 2024

Yes. I think they should be in this gem. Could you send us a pull request? That would be great. Thanks.

from spree_globalize.

tvdeyen avatar tvdeyen commented on June 28, 2024

I guess they are still in the spree_i18n gem. Right @alepore ?

from spree_globalize.

alepore avatar alepore commented on June 28, 2024

yeah, we should probably move all the i18n.* keys here, maybe renaming them to globalize: ?

from spree_globalize.

alepore avatar alepore commented on June 28, 2024

uhm, some keys are used both on i18n and globalize...

from spree_globalize.

tvdeyen avatar tvdeyen commented on June 28, 2024

I would say copy them over. Spree translation keys are too generic in most cases anyway. And it doesn't hurt to have some of them duplicated.

What keys are we talking about?

from spree_globalize.

alepore avatar alepore commented on June 28, 2024

https://github.com/spree/spree/blob/master/core/config/locales/en.yml#L721 (yes, english is on the core.....)

from spree_globalize.

alepore avatar alepore commented on June 28, 2024

I'd copy only the keys that are only here... or just leave them on i18n, they are just 4-5 keys.

from spree_globalize.

alepore avatar alepore commented on June 28, 2024

to sum up, a nice work would be to move these keys from i18n to this gem, for all languages, and change the namespacing to globalize on templates:

en:
  spree:
    globalize:
      fields:
      locales_displayed_on_translation_forms:
      only_complete:
      only_incomplete:
      select_locale: 
      show_only: 
      supported_locales:
      translations:

i started with actually missing stuff: https://github.com/spree-contrib/spree_globalize/blob/master/config/locales/en.yml

from spree_globalize.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.