Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translation in English #27

Open
viper-adnan opened this issue Sep 23, 2020 · 7 comments
Open

Translation in English #27

viper-adnan opened this issue Sep 23, 2020 · 7 comments

Comments

@viper-adnan
Copy link

Hey, Please add a language switching option to configure between Chinese and English !

@ghost
Copy link

ghost commented Sep 29, 2020

https://github.com/NOOBZHAX/gdshare-translated

@viper-adnan
Copy link
Author

https://github.com/NOOBZHAX/gdshare-translated

I hope official version releases soon.

@ghost
Copy link

ghost commented Oct 4, 2020

This is tutorial about putting a translate button in gdshare.

Put this anywhere in < body > tag
PROtip : make sure to edit(-remove spaces) if it shows red lines .

<div id="google_translate_element"></div> <script type="text/javascript">function googleTranslateElementInit() {new google.translate.TranslateElement({pageLanguage: "zh-Hans", includedLanguages: "en"}, "google_translate_element");}</script> <script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"> </script>

and,
Paste this at starting of worker( before const CONFIG........)

function googleTranslateElementInit() { new google.translate.TranslateElement({pageLanguage: 'zh-Hans', includedLanguages: 'en'}, 'google_translate_element'); }

@viper-adnan
Copy link
Author

@sp-555 thanks I will check it out

@mlwbd
Copy link

mlwbd commented Oct 6, 2020

@sp-555 can you translate the new version

@ghost
Copy link

ghost commented Oct 7, 2020

@sp-555 can you translate the new version

No.

@viper-adnan
Copy link
Author

Any updates on English version ? @iwestlin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants