Log message #4203917

# At Username Text
# Sep 18th 2019, 15:33 neon1024 Interesting the list Tamil, as I think that’s Sri Lankas language
# Sep 18th 2019, 15:33 neon1024 African nations might have a few too I’d guess
# Sep 18th 2019, 15:32 neon1024 ..languages for India that is
# Sep 18th 2019, 15:32 neon1024 Wikipedia lists 12! :O
# Sep 18th 2019, 15:32 ricksaccous I'd imagine making a website that caters to that audience would take more translation work
# Sep 18th 2019, 15:31 ricksaccous I have no idea what else, I think India has a lot of different languages/dialects
# Sep 18th 2019, 15:31 neon1024 Better to think of languages I suppose :thinking_face:
# Sep 18th 2019, 15:31 neon1024 Well I was thinking traditional and simplified, as per Google Translate
# Sep 18th 2019, 15:31 ricksaccous oh
# Sep 18th 2019, 15:31 neon1024 Probably simplified Chinese too
# Sep 18th 2019, 15:31 ricksaccous does China have more dialects?
# Sep 18th 2019, 15:31 neon1024 I presume Chinese would just cater for Mandarin and Cantonese
# Sep 18th 2019, 15:30 neon1024 My brain is asking if countries with multiple languages or dialects like India or China would run multiple translations in the same site for each dialect
# Sep 18th 2019, 15:29 neon1024 Saying I’m in the minority, on reflection, probably not. As my locale is `en_GB` rather than `en_US`
# Sep 18th 2019, 15:28 neon1024 With Brexit, we’ll have to make a fork and remove the translations :P
# Sep 18th 2019, 15:28 neon1024 Yeah, I figured as much
# Sep 18th 2019, 15:25 admad @neon1024 seriously though I18n features are commonly needed by enough to warrant inclusion in core and the Shadow table strategy is lot more efficient than the old EAV strategy
# Sep 18th 2019, 15:17 neon1024 When are you releasing your fork @dereuromark :troll:
# Sep 18th 2019, 15:16 neon1024 One core developer to rule them all! :ring:
# Sep 18th 2019, 15:11 dereuromark :slightly_smiling_face:
# Sep 18th 2019, 15:11 dereuromark Given contribution stats, it is already ADmadPHP
# Sep 18th 2019, 15:10 neon1024 :male_mage:
# Sep 18th 2019, 15:10 neon1024 We should consult the council of Marks and Josés
# Sep 18th 2019, 15:09 neon1024 Don’t tell @dereuromark
# Sep 18th 2019, 15:08 admad @neon1024 I need it is enough reason for having it in core :P
# Sep 18th 2019, 15:01 neon1024 Perhaps I’m in the minority for not needing translations
# Sep 18th 2019, 15:00 neon1024 Why isn’t it still a plugin?
# Sep 18th 2019, 15:00 jh @admad
# Sep 18th 2019, 15:00 jh The shadow table strategy in built in 4.x core so good
# Sep 18th 2019, 14:30 val @dereuromark which are deprecated :(
# Sep 18th 2019, 14:29 dereuromark in 2.x it was attach() and detach() which I like a bit more in terms of naming convention for behaviors^^
# Sep 18th 2019, 14:27 val I think it is `$this->Category->Behaviors->unload('Translate');` or `$this->Category->Behaviors->disable('Translate');` in 2.x
# Sep 18th 2019, 14:26 admad shadow table strategy only requires 1 join
# Sep 18th 2019, 14:25 admad The shadow table strategy in built in 4.x core
# Sep 18th 2019, 14:24 admad I have never actually used the EAV based translate behavior so no idea. I use https://github.com/AD7six/cakephp-shadow-translate which is lot more efficient in terms of query
# Sep 18th 2019, 14:22 val so, there is no way to do that at the moment?
# Sep 18th 2019, 14:22 admad you can submit a patch :slightly_smiling_face:
# Sep 18th 2019, 14:18 val the join is unnecessary, f.ex. `select id from posts`
# Sep 18th 2019, 14:16 admad How can it know whether translation exists or not without doing the join?
# Sep 18th 2019, 14:12 val Hi, TranslateBehavior by default joins i18n table even if there is no need to retrieve a translation. Is there an easy way to disable that? So that no join would be generated.
# Sep 18th 2019, 14:11 ricksaccous ;)