Block google translate width flags #1865
Replies: 1 comment
-
insert the repport from source console chrome developer (function(){/* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 ---this row have the error--- |
Beta Was this translation helpful? Give feedback.
-
Hello to all
as i have always said i am not a developer, my knowledge on javascript and php code are practically nil, but i am stubborn and fortunately sometimes i find pieces of solutions that somehow i manage to paste and make to work.
A few years ago I modified with a lot of research and a lot of effort an automatic translation module of the contents of the site developed in magento which I then transformed into a block to simplify any changes
The original google translation module provides a drop-down menu with the choice of available languages, I am interested in having the flags of the languages preset on the screen and translating into the chosen language.
the module (or block) always worked fine until about a week ago, now it doesn't work anymore.
I guess it depends on google but I can't find any documentation about it.
If anyone is interested in solving the problem and sharing the solution they would appreciate it.
under the code I used:
Beta Was this translation helpful? Give feedback.
All reactions