How to insert translations? No language file?

3 months 1 day ago #1 by Clemens
I want to replace the headline above the "user field" table "User Details".  But I cannot find a language file. Is there text injected by PHP?
This headline is defined by the class "label". I would like to have it at least as bold paragraph text.

How can I achieve this?

Please Log in or Create an account to join the conversation.

3 months 1 day ago - 3 months 1 day ago #2 by Christopher Mavros
Replied by Christopher Mavros on topic How to insert translations? No language file?
The User Details text is a legend element of the fieldset that includes the inputs for users to write their details.
It is translated with JText, like everything else, and included in the language ini files with the key USER_DETAILS.
The language files can be found at
language/en-GB/en-GB.com_simplequiz.ini
and 
language/en-GB/en-GB.mod_simplequiz.ini

If your template doesn't style the fieldset legend according to your likes, you can add the following CSS:
.simplequiz_user_fieldset legend { font-weight: bold; }

Judging from all the issues you posted, I'm suspecting that something isn't stable in your installation. If I were you, I would re-install SimpleQuiz, possibly even Joomla, and then check for server cache and firewalls that may block normal operation of PHP scripts. For example, my host once enabled Varnish, causing Joomla sessions to go crazy. People were viewing private information from other users, because the cache couldn't differentiate between sessions.

Let me know if you need any further assistance.

Christopher Mavros
mavrosxristoforos@gmail.com
If you like our extensions, please rate us on the JED!

Please Log in or Create an account to join the conversation.

3 months 1 day ago #3 by Clemens
Replied by Clemens on topic How to insert translations? No language file?
Thank you for your ultra quick reply!
I have already had searched for that language file and did not find it in my old Joomla 3.10.10 installation. It has not been installed automatically. So I have unzipped the SQ package. I found both language files (mod and com) and copied it via ftp to language/en-GB.
Further I saw, that there is no German language file. I have translated the com language file and I send it to you for your free use.

I checked this in my Joomla 4.x installation and there the language file was installed as it should.

Thank you for your advice concerning the "label" question! 

This message has an attachment file.
Please log in or register to see it.

Please Log in or Create an account to join the conversation.

3 months 22 hours ago #4 by Christopher Mavros
Replied by Christopher Mavros on topic How to insert translations? No language file?
Vielen Dank!
That is very much appreciated.

Christopher Mavros
mavrosxristoforos@gmail.com
If you like our extensions, please rate us on the JED!

Please Log in or Create an account to join the conversation.

2 months 4 weeks ago #5 by Clemens
Replied by Clemens on topic How to insert translations? No language file?
Now my SimpleQuiz is up and running. And I am very happy und thank you for your big engagement!
But inspite I now have copied the German language files (component and module) via ftp, I hdon't see any effect in SQ. It all remains in English.

I have checked the Joomla language settings, but this seems to be correct. What should I do, that SQ will switch to show German language?

In the attachment, you will get the German language file for the Modul. Feel free to use it as you like!

In the Module, the word "Contest" was often used. In German we could translate it in several words with different meaning like "Wettbewerb" or "Prüfung" etc. In order to keep the original meaning, I have let the original word "Contest" in my translation. 

This message has an attachment file.
Please log in or register to see it.

Please Log in or Create an account to join the conversation.

2 months 4 weeks ago #6 by Christopher Mavros
Replied by Christopher Mavros on topic How to insert translations? No language file?
Hi again Clemens.
From what I've seen with my little experience with German, the idea of the word "Contest" in SimpleQuiz is more of a "Wettbewerb" rather than a "Prüfung", because it also has Contest Results that compare contestants' results.
Is the word Contest also used in German, or should I change it?

If SimpleQuiz shows in English, then maybe your site's language is not configured to be German. I mean, you may write everything in German, but Joomla doesn't know that you actually have German installed and set as the main language.
Nevertheless, a quick fix if you don't have English in your site, is to copy the content of the de-DE language files into the en-GB language files. Then SimpleQuiz would show texts in German (even if it doesn't really know that it actually is German).

Christopher Mavros
mavrosxristoforos@gmail.com
If you like our extensions, please rate us on the JED!

Please Log in or Create an account to join the conversation.

Moderators: Christopher Mavros