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

Translate content #43

Open
mitfik opened this issue Jul 11, 2012 · 12 comments
Open

Translate content #43

mitfik opened this issue Jul 11, 2012 · 12 comments

Comments

@mitfik
Copy link
Collaborator

mitfik commented Jul 11, 2012

Hi,

There is possibility to translate content ?
I would like to provide content (products description, specification) in different languages

@drhenner
Copy link
Owner

My only response is not immediately. I'd like to understand what solutions you have seen in other projects. I don't know too many ways to solve this in the database.

@mitfik
Copy link
Collaborator Author

mitfik commented Jul 11, 2012

The best which I saw (also from user experience perspective) is translation module from refinerycms [1]. Which works really good. Basically it base on globalize3 [2] gem which is very good for that.
I could provide implementation for that.

From store perspective is very important that each content (which is provided by user) should be translatable from admin panel. It also will be good to have functionality, that user could define which product will be available for which country (could you confirm if this is not possible right now?)

BTW: For this internationalization features it will good that user could have:

  • possibility to choose language (depends of language proper content and terms and conditions)
  • possibility to choose country (depends of the country different price and different products)
  • possibility to choose currency (depends of that different currency for payment, not only display different currency)

[1] http://refinerycms.com/
[2] https://github.com/svenfuchs/globalize3

@mitfik
Copy link
Collaborator Author

mitfik commented Jul 12, 2012

Globalize feature:

https://github.com/mitfik/ror_ecommerce/tree/globalize

Few things left so as soon I will finish I will send PR.

regards

@rubydesign
Copy link
Contributor

Definite plus over spree (who never adoptes a truly global attitude) and a must in many a european project

@drhenner
Copy link
Owner

I truly love that you guys are helping. As an American, I tend to think pretty linearly. =)

I'm juggling a lot of things right now. I'll be knocking off some of the other issues ASAP.

@deanpcmad
Copy link
Contributor

We could probably use the lib/locales files?

@mitfik
Copy link
Collaborator Author

mitfik commented Sep 9, 2012

@deanperry You mean config/locales ?
globalize is a solution for translating dynamic content and config/locales files (pl.yml, en.yml) are for static content.

@deanpcmad
Copy link
Contributor

Ah I see, I've not had the need to translate content yet for any of my projects :)

@romiras
Copy link
Contributor

romiras commented Jun 17, 2015

Hi,
have there been any changes since then?
There is tool HerbGobbler which claims able to extract raw text from project then convert it to I18n.

@drhenner
Copy link
Owner

Very interesting. I have never seen HerbGobbler. I'll take a look

@rubydesign
Copy link
Contributor

Am i misunderstanding this or is the topic about content, but HerbGobbler about templates ?

If it's just about template s, ie having a store in one different language but english, you can try my rubyclerks (https://github.com/rubyclerks/office_clerk), which is a lot smaller, but if it's enough for you, fully internationalized.
(hope that's ok to mention here, dave)

@drhenner
Copy link
Owner

Yes I'm ok with mentioning :)

As for this topic I'll search a few solutions if I have time but I'm swapped at my day job so....

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

No branches or pull requests

5 participants