Skip to main content
Topic: Transifex: uploaded files not actual? (Read 11271 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Transifex: uploaded files not actual?

I translated a file locally on my computer and uploaded it to Transifex. But the file there online is not the one I uploaded - Online are for example 5 strings not translated, on my pc all strings are translated. It seems I'm to stupid for this stuff.  :-X :-[

Re: Transifex: uploaded files not actual?

Reply #1

I'm not a transifex expert as well.

Let's see: can you attach here the file you translated?

And did you upload the file to which one of the Germans? ("German" or "German Germany"?)

Also, I think "German Germany" is the "formal" German, trasnlated by forumsearch0r, while "German" is the one you were translating.
Last Edit: July 10, 2014, 01:06:00 pm by emanuele
Bugs creator.
Features destroyer.
Template killer.

Re: Transifex: uploaded files not actual?

Reply #2

Here's a file with 5 lines untranslated online, but in this file all lines are translated.

Oh, really? I tried to upload my files to "german germany" because @TE changed them a few days ago and he said to me a while ago he will upload my whole package. Oops, I don't want to overwrite the files from forumsearch0r with my own.  :-[

Maybe better wait till TE has some time to help me with this? This gives me time to optimize the language files a litte bit more too.

Re: Transifex: uploaded files not actual?

Reply #3

Not a big problem, I'll re-upload the translation. ;)

The problem is that the "base" files you are using are not up-to-date.
For example, one of the strings that result untranslated from transifex is admin_main_welcome.
In your file the string is like this:
Code: [Select]
$txt['admin_main_welcome'] = '[...]Fällen dürfte bereits das <img src="' . $settings['images_url'] . '/helptopics.png" alt="%2$s" title="%3$s" /> Symbol weiterhelfen.';
This is the "old version", the problem with this string is that is it not "compatible" with transifex, and it was changed to something like:
Code: [Select]
You may also find answers to your questions or problems by clicking the <img src="%3$s/helptopics.png" alt="%2$s" title="%2$s" /> symbols for more information on the related functions.
So, even if you upload the file, transifex doesn't recognise it and fails.

And most likely all the other strings that result untranslated in transifex is because of that same problem.
If you want I can try to fix them for you, it's just a bit of an annoying work, that takes a while.
I'm not sure I can do it before the weekend though.
Bugs creator.
Features destroyer.
Template killer.

Re: Transifex: uploaded files not actual?

Reply #4

I don't get it. So the files I wish to upload mustn't be php files? 

Re: Transifex: uploaded files not actual?

Reply #5

You see the two strings I posted above?
They are different.
The problem is that one: the first is not understood by transifex, the second is.

In your file you have the first. ;)
Bugs creator.
Features destroyer.
Template killer.

Re: Transifex: uploaded files not actual?

Reply #6

lol I know, Emanuele. I see the difference. What I don't understand is what the files I wish to upload must look like. Only the text part without:

$txt['admin_main_welcome'] = '

?

Re: Transifex: uploaded files not actual?

Reply #7

No.
The problem is the "structure" of what is after.

Example:
Code: [Select]
$txt['a_string'] = 'something';
This is fine.

Code: [Select]
$txt['a_string'] = 'some' . 'thing';
This is not fine.
The string is interrupted by the thing ' . ' (single quote, dot, single quote) and transifex is not able to use it.
That is the only difference.

When your will have the strings with the "new" format, it will be recognised by transifex properly and the translation updated.

In the case I used as example the translation should become:
Code: [Select]
$txt['admin_main_welcome'] = '[...]Fällen dürfte bereits das <img src="%3$s/helptopics.png" alt="%2$s" title="%2$s" /> Symbol weiterhelfen.'; 
I remove part of the string to show exactly where the problem is. ;)
Bugs creator.
Features destroyer.
Template killer.

Re: Transifex: uploaded files not actual?

Reply #8

Thanks a lot. Should I better correct all german language files this way? But I don't know the stuff like %2$s :-[

Re: Transifex: uploaded files not actual?

Reply #9

You can check on transifex the untranslated strings, these should have some difference like that. Check the new string and adapt the translation accordingly, that should work. ;D
I re-uploaded the German (Germany) translation from forumsearch0r, I feel we should add some note or something to explain better the difference between the two. :)
Bugs creator.
Features destroyer.
Template killer.

Re: Transifex: uploaded files not actual?

Reply #10

German (Jorinland)
de_DE.uft8.jorin

:D

Re: Transifex: uploaded files not actual?

Reply #11

LOL
Bugs creator.
Features destroyer.
Template killer.

Re: Transifex: uploaded files not actual?

Reply #12

Code: [Select]
$txt['credits_translators_message'] = 'Thank you for your efforts which make it possible for people all around the world to use ElkArte.  For a complete list please refer to the offical Transifex <a href="https://www.transifex.com/organization/elkarte/dashboard" target="_blank" class="new_win">list of contributors.</a>';

So we git contributors don't count anymore?
-

Re: Transifex: uploaded files not actual?

Reply #13

There is another key for git contibutors

Re: Transifex: uploaded files not actual?

Reply #14

I guess that doesn't work also because is not accessible to non registered users.

heh...
Back to the manually edited variable?
Bugs creator.
Features destroyer.
Template killer.