The problem google added some kind of code to my docker. I disable the translate function first, then I removed discourse-translate it from the container and host and the app.yml. But the google translate works like a ghost, hiding everywhere in the discourse code. Chinese GFW block all google so that we can see a clear delay when requiring google JS file.
I found these two file in the original source that loads the google translate.
#sudo sed -i.bak ‘/server:before-body-close/d’ /var/www/discourse/app/views/layouts/application.html.erb &&
#sudo sed -i.bak ‘/server:before-body-close/d’ /var/www/discourse/app/views/layouts/no_ember.html.erb &&\
It is fine they want craw data from our site. But the visitor from China are suffering a huge delay because this one JS file. After I added these two line of code to app.yml, it still loaded google translate.
