Fixing the malfunctioning gtranslate function and ensure compatibility of the cookiestore with Firefox and Safari.
TODO: For testing purposes, verify whether Google Translate is being set twice in both the staging and other environments. In the local environment, the gtranslate cookie is being set twice, which prevents the page from reloading when the Google widget is closed.
Fixing the malfunctioning gtranslate function and ensure compatibility of the cookiestore with Firefox and Safari.
TODO: For testing purposes, verify whether Google Translate is being set twice in both the staging and other environments. In the local environment, the gtranslate cookie is being set twice, which prevents the page from reloading when the Google widget is closed.