[CDB] gTranslate

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Anti-Spam Guide
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
mrix2000
Registered User
Posts: 1281
Joined: Sun Dec 03, 2006 2:23 pm

Re: [3.3][RC] gTranslate

Post by mrix2000 »

Just noticed a similar issue to the login problem the other member had, as my translate is a little further across when I click the notifications tab the translate still covers it.... can I use the same fix that was used for the other member ?
Thanks for any help
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6837
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James

Re: [3.3][RC] gTranslate

Post by HiFiKabin »

RC3 shouldn't have these issues

If you are using RC3 then can I please have a screenshot to show the issue
mrix2000
Registered User
Posts: 1281
Joined: Sun Dec 03, 2006 2:23 pm

Re: [3.3][RC] gTranslate

Post by mrix2000 »

HiFiKabin wrote: Wed Jul 05, 2023 4:29 pm RC3 shouldn't have these issues

If you are using RC3 then can I please have a screenshot to show the issue
If you look at my prior post you can see the screenshot of before I click the Notifications.
You do not have the required permissions to view the files attached to this post.
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6837
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James

Re: [3.3][RC] gTranslate

Post by HiFiKabin »

OPEN

gtranslate_navbar.css

FIND

Code: Select all

	z-index: 1 !important;
CHANGE TO

Code: Select all

	z-index: 0 !important;
SAVE > UPLOAD > PURGE BROWSER CACHE
mrix2000
Registered User
Posts: 1281
Joined: Sun Dec 03, 2006 2:23 pm

Re: [3.3][RC] gTranslate

Post by mrix2000 »

That worked a treat :D 8-)
Thank you

From what I can establish now this translate works brilliantly for overall page translating and even single posts where its a different language posted which is not the board default :D 8-)
However there is the auto Undefined that we see appear when the en has not been added in Extensions :(
Fingers crossed for a fix on that issue.
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6837
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James

Re: [3.3][RC] gTranslate

Post by HiFiKabin »

Thanks for the conformation that the fix works
mrix2000 wrote: Wed Jul 05, 2023 5:05 pm However there is the auto Undefined that we see appear when the en has not been added in Extensions :(
Fingers crossed for a fix on that issue.
I have contacted gTranslate and they are passing my request up the development chain
mrix2000
Registered User
Posts: 1281
Joined: Sun Dec 03, 2006 2:23 pm

Re: [3.3][RC] gTranslate

Post by mrix2000 »

HiFiKabin wrote: Wed Jul 05, 2023 5:48 pm I have contacted gTranslate and they are passing my request up the development chain
Great stuff and thanks for that 8-)
Fingers crossed this end
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6837
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James

Re: [3.3][RC] gTranslate

Post by HiFiKabin »

3.3.1-RC1 now available. Code improvement, Browser Language auto detected, all posts should now translate correctly

Update from previous version:
  • Download the latest release and unzip it.
  • Disable gTranslate in the ACP
  • Delete gTranslate Data (as it is no longer required for this version)
  • Delete the gTranslate folder from the server
  • Upload the folder hifikabin to root/ext/ and enable gTranslate in the ACP
With many thanks to those who have made many helpful suggestions and tweaks
User avatar
Chico Gois
Translator
Posts: 101
Joined: Tue Mar 28, 2006 4:42 am
Location: São Paulo - Brasil

Re: [3.3][RC] gTranslate

Post by Chico Gois »

Suggestion:

Code: Select all

"flag_style":"3d"
Now all that remains is to do when pressing F5 the page returns to the original language.
SeewolfPK
Registered User
Posts: 114
Joined: Sat Apr 09, 2011 10:18 am

Re: [3.3][RC] gTranslate

Post by SeewolfPK »

Chico Gois wrote: Thu Jul 06, 2023 10:09 pm Suggestion:
...
Where to put in?
Best wishes
Paul
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6837
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James

Re: [3.3][RC] gTranslate

Post by HiFiKabin »

in overall_footer_after.html

Code: Select all

<script>
window.gtranslateSettings = {
	"detect_browser_language": true,
	"wrapper_selector": ".gtranslate_wrapper",
	"flag_size": 16,
	"flag_style":"3d"
}
</script>
mrix2000
Registered User
Posts: 1281
Joined: Sun Dec 03, 2006 2:23 pm

Re: [3.3][RC] gTranslate

Post by mrix2000 »

Strangely today the auto undefined appeared back today :? was that something that was fixed or do we still expect to see it ?
Also even though in English some words are getting changed.... I have a member called Allectus but when this mod is enabled it changes his username to " Attracted " in another case we have a metal detecting device called a XP Deus but the translate changes it to XP God :?
I guess its simply seeing these words as originally in another language and does its job of translating. something like this will obviously have to stop me using the EXT unless I go back to the older version and just using the all forum translate again.... if this is the case maybe 2 options could be added ?
Thanks
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6837
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James

Re: [3.3][RC] gTranslate

Post by HiFiKabin »

mrix2000 wrote: Fri Jul 07, 2023 9:19 am Strangely today the auto undefined appeared back today
Very strange, and not something I have experienced. maybe a caching issue, either on your server of your browser
mrix2000 wrote: Fri Jul 07, 2023 9:19 am a member called Allectus but when this mod is enabled it changes his username to " Attracted " in another case we have a metal detecting device called a XP Deus but the translate changes it to XP God
I guess its simply seeing these words as originally in another language and does its job of translating.
Exactly so, but there is a way around it by using the code I have posted in the first post of this topic. The gTranslate code ignores anything wrapped in the ignore code. Not the easiest way to get the desired result, but trying to create an "ignore these words" list would be a never ending nightmare
SeewolfPK
Registered User
Posts: 114
Joined: Sat Apr 09, 2011 10:18 am

Re: [3.3][RC] gTranslate

Post by SeewolfPK »

With activated EXT Admin can not delete topic in threads.

This happens while i set board language to english
Admin must choose translation then also in english to delete topic (maybe all working of admin)

If I set board language to english then the translation workes after restart of browser without choosing translation language.

Do not know, why it not works in german board language
Last edited by SeewolfPK on Fri Jul 07, 2023 10:43 am, edited 1 time in total.
Best wishes
Paul
User avatar
Chico Gois
Translator
Posts: 101
Joined: Tue Mar 28, 2006 4:42 am
Location: São Paulo - Brasil

Re: [3.3][RC] gTranslate

Post by Chico Gois »

mrix2000 wrote: Fri Jul 07, 2023 9:19 am Strangely today the auto undefined appeared back today :?
You must have something not properly formatted in the files inside the events folder.

I'm using it like this:

Code: Select all

<script>window.gtranslateSettings = {"default_language":"pt","native_language_names":true,
"detect_browser_language":true,"languages":["pt","en","fr","de","ja","nl","it"],"wrapper_selector":
".gtranslate_wrapper","flag_size":16,"flag_style":"3d"}</script>

Return to “Extensions in Development”