Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Piotr Pawlik
@papiozo_twitter
tried suggested answers from Internet as well, like:
translate_class.class_eval do
   validates :label, uniqueness: true
end
any ideas how to do that?
Noel Worden
@noelworden
Hello! Im trying to create custom URLs and in that process I need to eliminate the en/ that is created with the globalization gem. Ive dug around, but havent come up with any solutions yet...
Sajeetharan
@sajeetharan
console.log(Globalize.translate('Hi my name is sajeetharan'));
why above does not work?
VIVEK DABHI
@vivekdabhi
how to set language forum..?
i have used the globalize gem file in rails 5 but how to set language module..?
Alberto Priore
@albertopriore
I'm trying to update multiple translated fields for multiple nested attributes in one only form. But, only when I update the default language with a new changed text, it will update also the other languages. If I update other language than the default it do not save the content. What could be wrong in my config?
Philip Arndt
@parndt
@shioyama exciting times
Simon Knoll
@simonknoll
Hello, is it save to use globalize on a rails5 project?
Anson Hoyt
@ansonhoyt
@simonknoll we've been using it on Rails 5 just fine, but were tracking master until 5.1.0.beta1 was released. There were some issues with the latest stable for us.
Philip Arndt
@parndt
@ansonhoyt how is the latest beta?
Anson Hoyt
@ansonhoyt
@parndt the latest beta has been working fine as far as I've noticed. No issues.
mariamelm2
@mariamelm2
This message was deleted
Belibaste
@Belibaste_twitter
Hi guys, having trouble with Globalize and Friendly ID: when I restart my app, everything is fine, but after a few minutes, urls are back to the classic id, I don't understand why
Rails 4 on Heroku, everything up to date, including gem 'friendly_id-globalize'
Chris Salzberg
@shioyama
Globalize is no longer compatible with FriendlyId using the friendly_id-globalize gem, see: https://github.com/globalize/globalize/issues/543#issuecomment-268115937
The gem and FriendlyId itself do not seem to be maintained, and maintaining support on Globalize side would be painful.
Belibaste
@Belibaste_twitter
I did not realize that. What is weird is it work at start everywhere, but stop working after a while just for one model... I am willing to contribute to open source project, but pretty new at this so do you think it is worth it to try to fix the gem ? Edit: thanks for your time :-)
Andy Chung
@gehsekky
hey all
is this lib compatible with webpack?
nvm, just found this thread
globalizejs/globalize#441
Punita Ojha
@punitaojha
This message was deleted
Francesco
@pinkynrg
Good morning
I had a question about globalize/globalize#620
Is there anyone who could explain if there is a way to save all translations for the available locale when a resource is saved?
I need all translation (also the empty ones) to show in my active admin page
I tried a fix but it still seems to be buggy
I can give more details on what is going wrong on the github post
André Arko
@indirect
has anyone ever seen the effect of calling translates in a model definition somehow removing those columns from the model's list of attributes?
somehow, in my tests, the columns passed to translates are missing from Model.attribute_names :O
and if I comment out the translates line, the columns suddenly appear back in the list
Waldyr de Souza
@waldyr
Anyone trying to use globalize with Rails 5.1?
I had the following problem globalize/globalize#625. Can anyone help me out to solve this issue?
The issue might be badly written but I'm here to clarify as needed
Gareth Rees
@garethrees
What is the correct way to order HABTM associations by the current locale translation? e.g. https://gist.github.com/garethrees/aef31364b1bf7619170aa79c2d6b99dc
Gustavo Bastos
@gustavovnicius
So, I'm experiencing this issue globalize/globalize#562 with AR 5+
But still, this version wasn't published yet, so I'm wondering when it will be :)
mdebo
@mdebo
Hello
Im experiences an issue usingn migrate_data
By looking at the source code, it seems that the code doesnt use any batch and instead does : model.all.collect ...
I have to migrate a large amount of data and i guess it's very slow because of that
Do you have any ideas?
mdebo
@mdebo
oh it was my bad
The code use batch , im sorry .-)
thank you
Joseph Haig
@jrmhaig
I want to have text fields in a model that can have translations. Is this the gem I want to use? Eg, I would like to be able to get records by Model.find_by(<some way to specify id and language>)
or is it intended for building translation tables?