[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!
Scam Warning
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)
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6799
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James

Re: [3.3][RC] gTranslate

Post by HiFiKabin »

SeewolfPK wrote: Fri Jul 07, 2023 10:36 am With activated EXT Admin can not delete topic in threads.
Thanks for reporting that error, although I suspect that there is little that can be done about it.
SeewolfPK
Registered User
Posts: 113
Joined: Sat Apr 09, 2011 10:18 am

Re: [3.3][RC] gTranslate

Post by SeewolfPK »

I am back to RC3.
With this I have the error and users have to choose their language
rc3.jpg
After this all works good, if I set board language to english.
In german board language it did not work.

Only problem is working as admin. This only works if I change to english language in the transklation tool.
You do not have the required permissions to view the files attached to this post.
Best wishes
Paul
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26874
Joined: Fri Aug 29, 2008 9:49 am

Re: [3.3][RC] gTranslate

Post by Mick »

SeewolfPK wrote: Fri Jul 07, 2023 10:36 amAdmin can not delete topic in threads
That doesn’t make sense.
  • "The more connected we get the more alone we become” - Kyle Broflovski© 🇬🇧
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6799
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James

Re: [3.3][RC] gTranslate

Post by HiFiKabin »

SeewolfPK wrote: Fri Jul 07, 2023 12:10 pm I am back to RC3.
With this I have the error and users have to choose their language
rc3.jpg
There is nothing I can do about that error in 3.3.0_RC3 which is why I have rebuilt it into 3.3.1_RC1 (but then that doesn't entirely work for you either)
SeewolfPK wrote: Fri Jul 07, 2023 12:10 pm Only problem is working as admin. This only works if I change to english language in the transklation tool.
I suspect that is a conflict between the translated text and the text that phpBB is expecting and probably nothing that can be done about it
SeewolfPK
Registered User
Posts: 113
Joined: Sat Apr 09, 2011 10:18 am

Re: [3.3][RC] gTranslate

Post by SeewolfPK »

Thanks for your quick reply.

I will see, what users say, when I go online with a new forum.

I will give the users then the information
Nach einem Browser Neustart muss die Sprache neu gesetzt werden. --> undefined
After restarting the browser, the language must be reset. --> undefined
Na het herstarten van de browser moet de taal worden gereset. --> undefined
Après le redémarrage du navigateur, la langue doit être réinitialisée. --> undefined
Dopo aver riavviato il browser, la lingua deve essere reimpostata.--> undefined
După repornirea browserului, limba trebuie resetata. --> undefined
Después de reiniciar el navegador, se debe restablecer el idioma. --> undefined
După repornirea browserului, limba trebuie resetata. -> undefined -
Best wishes
Paul
mrix2000
Registered User
Posts: 1281
Joined: Sun Dec 03, 2006 2:23 pm

Re: [3.3][RC] gTranslate

Post by mrix2000 »

HiFiKabin wrote: Fri Jul 07, 2023 10:30 am 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
That sounds interesting but I am unsure how to achieve this :?
In your code how do I add words like Deus and Allectus to be ignored ? could you please give a example ?
Is it something you simply add to the html or bbcode ?
Its not something I have ever used before.
Or does the code simply get me back to just the overall forum being translated ?
Thanks
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6799
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James

Re: [3.3][RC] gTranslate

Post by HiFiKabin »

If you set that BBCode on your board, then any text wrapped in that BBCo0de will not be translated. You can see the effect on my demo site with "This Post Is Written In ..." That would work for brand names etc, although your users would have to do that with each post. Inconvenient I know but I can not think of another way around it.

Also anything within the code tags is not translated either

The template files are a different matter, so (for example) every time username appears in the template it would need to be wrapped in the "notranslate" HTML code. I do not know it that would be possible using an extension but I am investigating further.
User avatar
Miri4ever
Registered User
Posts: 618
Joined: Sat Mar 07, 2015 11:18 am

Re: [3.3][RC] gTranslate

Post by Miri4ever »

Did both JS Codes updated by the developers or just the current one? Maybe you can also show how to color and adjust the dropdown boxes for the personal needs from the latest version.
Homepage: Terra Oceanica

Extension Developments:
PHPBB Games Solitaire, MChat Poker, MChat Black Jack, MChat Cards, MChat Trivia
PHPBB Special Effects, Mousepointers, X-Mas Themes and Designs for PBWoW Style.
Supported work: (**New Updated** UCP Sidebar), Tables, Hide, PBWow3 Style
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6799
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James

Re: [3.3][RC] gTranslate

Post by HiFiKabin »

Styling

The core gTranslate code has not changed, its the way I have used it that has.
User avatar
stone23
Registered User
Posts: 177
Joined: Sat Nov 02, 2019 4:44 pm
Location: France

Re: [3.3][RC] gTranslate

Post by stone23 »

On the other hand, I would like to report a bug when the extension Digital Clock is activated: depending on the date and time format chosen, there is a flickering which occurs and it is very unpleasant...
encreuse.net
Forum version : 3.3.11
php version : 8.2.10

Excuse my English, I'm French...
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6799
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James

Re: [3.3][RC] gTranslate

Post by HiFiKabin »

download and unzip the attached, uploading it to:-

ext/chris1278/jsclock/styles/prosilver/template/event/

replacing the original file and purge the boards cache

(I have wrapped the notranslate span around the code that needs to be ignored by the translate script)


https://www.filemail.com/d/wtcqrnmxbcrvuim the link will remain live for 7 days
User avatar
Miri4ever
Registered User
Posts: 618
Joined: Sat Mar 07, 2015 11:18 am

Re: [3.3][RC] gTranslate

Post by Miri4ever »

Thanks for the colors first, as I only had the ones from the old post from old translators and not the ones from the new one. I tried this right away, unfortunately the translator seems to translate everything immediately despite the correctly recognized language and there seems to be only one style but no more settings as in 3.30 RC3 or ?

There is only one style folder, and it translates immediately, even if I don't want it to. So I can no longer set that nothing is translated in the following language at first. This, of course, destroys the complete function and internationality of my forum. If someone wants a translation, they should be able to decide for themselves. So, I will probably have to stay with 3.30 RC3, as this destroys my multilingual posts and international buttons.

It should not necessarily always translate everything immediately and at least not translate the set base language. But unfortunately, there are likely no more settings where this is possible, and I don't know if I can just change the style folder and continue to use the other language setting data in the ACP. In the old version, this version was also available all the time and worked fine there, so why is this now suddenly gone?

If the first option inside this dropdown box would something like NO TRANSLATION by default and only translate if a language would be selected, I think it would work nice.
Homepage: Terra Oceanica

Extension Developments:
PHPBB Games Solitaire, MChat Poker, MChat Black Jack, MChat Cards, MChat Trivia
PHPBB Special Effects, Mousepointers, X-Mas Themes and Designs for PBWoW Style.
Supported work: (**New Updated** UCP Sidebar), Tables, Hide, PBWow3 Style
mrix2000
Registered User
Posts: 1281
Joined: Sun Dec 03, 2006 2:23 pm

Re: [3.3][RC] gTranslate

Post by mrix2000 »

Miri4ever wrote: Sun Jul 09, 2023 10:03 am If the first option inside this dropdown box would something like NO TRANSLATION by default and only translate if a language would be selected, I think it would work nice.
That is a interesting thought / idea 8-)
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6799
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James

Re: [3.3][RC] gTranslate

Post by HiFiKabin »

I agree and have suggested it to gTranslate but so far they do not appear to be interested.

At the moment, this version is the best compromise I can come up with (and it is very much a compromise) although I am still trying to improve it.
mrix2000
Registered User
Posts: 1281
Joined: Sun Dec 03, 2006 2:23 pm

Re: [3.3][RC] gTranslate

Post by mrix2000 »

HiFiKabin wrote: Sun Jul 09, 2023 11:05 am this version is the best compromise I can come up with (and it is very much a compromise) although I am still trying to improve it.
Regardless if this EXT cannot be improved further your efforts are very much appreciated, certainly from my end as without you we have nothing 8-)

Return to “Extensions in Development”