Translation into German

  • Chris
  • Chris's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 months 3 days ago - 9 months 2 days ago #1 by Chris
Translation into German was created by Chris
Hi Christopher
I have done some work over the week end. The thing is, there is a translation into German, but only for the front-end of NS Pro, and then it's both not complete and there is a bit of a mix between formal and informal language that I found irritating. 
Anyway the administration language is not translated at all, and as the weather was not too good, I thought I would sit down and do a bit of translating. I had some help from Deepl, though, that I gladly took.

Now, things stand like this right now: I have made an installable language file that I include in this post. It contains the files for front- and backend as well as the module and the plugins. I also translated the part with the guided tour. The language is informal German, that means I use 'du', instead of the formal 'Sie'.

But then I thought that I could also translate the help file that you have for NS Pro (help.html in the components folder).

There I ran into a problem: There is no possibility at the moment to have more than one help.html. I called my version help_de.html, but there is nothing in the language files to make it possible for the link in the 'About' section to point it at this help file.
There are two instances in the language file to open my help file, but not from 'About', because there the link is hard coded.

I thought, there should be a solution and I found one. But this calls for a modification in 

administrator/components/com_nspro/views/about/tmpl/default.php

as well as in 

administrator/language/.../nspro.ini

I have added a string to point to the help file as follows (it's in the About section around line 731 - the first entry is already there, the second is my contribution)

COM_NSPRO_ABOUT_HELP_FILE="Help file"COM_NSPRO_ABOUT_HELP_FILE_LANG="help.html"

Then of course there is a modification to above mentioned default.php, which is around line 52 and goes like this:

<li><a href="components/com_nspro/<?php print Text::_('COM_NSPRO_ABOUT_HELP_FILE_LANG');?>"><?php print Text::_('COM_NSPRO_ABOUT_HELP_FILE'); ?></a></li>

This makes part the hard-coded link taking its content from the language file.

Attached ZIP file contains all necessary files, including the help file and installes everything into the proper places. 

What I cannot do, is change the file in the views/about folder, I think that's where my suggestion comes in. I you feel, providing help files in other languages would be a sensible addition, you add this to your to-do list, otherwise, it is what it is.

Cheers, Chris   



 
This attachment is hidden for guests.
Please log in or register to see it.

Cheers, Chris
Last edit: 9 months 2 days ago by Chris.

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

  • Christopher Mavros
  • Christopher Mavros's Avatar
  • Offline
  • Administrator
  • Administrator
More
7 months 5 days ago #2 by Christopher Mavros
Replied by Christopher Mavros on topic Translation into German
Hallo Chris und vielen vielen Dank!
This is amazing, I appreciate it very much!

Your idea with the help file is excellent, but I couldn't include it right now, because I would also need to translate the help file in French, but I will definitely keep it in mind.
To be honest, the help file is very outdated and poorly structured. I need to work on that before translations.
Nevertheless, your installable file is available here. I also included all the German language files in the official release.

Thank you very much!

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

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

  • Chris
  • Chris's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
7 months 4 hours ago #3 by Chris
Replied by Chris on topic Translation into German
Much appreciated, thank you Christopher!

Cheers, Chris
The following user(s) said Thank You: Christopher Mavros

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

Moderators: Christopher Mavros