ElkArte Community

Extending Elk => Localization => Topic started by: Adrek on June 02, 2014, 12:54:53 pm

Title: credits_intro
Post by: Adrek on June 02, 2014, 12:54:53 pm
Can someone try to translate key [font=proxima-nova, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif]credits_intro[/font][/color] in Who.english.php? I get error on this string: Error: The expression '% f' is not present in the translation.
Title: Re: credits_intro
Post by: emanuele on June 02, 2014, 03:22:40 pm
Tried for the Italian and seems to work.
It looks almost like for the Polish translation it is confused by the "100% free" mixing "% f" for a "%f". :-\
Just to be sure, can you verify you didn't miss by mistake the space between the two?
Title: Re: credits_intro
Post by: Adrek on June 08, 2014, 02:48:44 pm
Somehow  I forgot about topic.. but the same error in Maintenance.english.php reminded me about it :)
Key: use_external_tool

Original text:
Code: [Select]
Please consider using an external tool to backup your database, any backup created with this utility cannot be considered 100% reliable.

My translation:
Code: [Select]
Rozważ użycie zewnętrznego narzędzia do utworzenia kopii zapasowej bazy danych. Jakakolwiek kopia zapasowa stworzona tym narzędziem nie może być uznana w 100% niezawodna.
and error:
QuoteError: The expression '% n' is not present in the original phrase.

I think that translation is correct and "%" sign is exactly where it is in original text, so I don't know what it wants from me.. :|

edit:
as I noticed - language editor takes first letter after % and if it does not match with first letter after % in original text then it shows error
Title: Re: credits_intro
Post by: TE on June 09, 2014, 07:49:53 am
seems to be a bug in the online editor from transifex...
translated to  "100 procent niezawoda", just to get that "fixed" for now. I think we should contact transifex.
Title: Re: credits_intro
Post by: Adrek on June 13, 2014, 09:03:53 pm
It worked fine in one key (Maintenance.english.php use_external_tool), but in Who.english.php it won't work :|
Title: Re: credits_intro
Post by: emanuele on June 14, 2014, 03:14:11 am
hmm... could you post here the text you are inserting?
Title: Re: credits_intro
Post by: Adrek on June 14, 2014, 03:35:55 am
sure, here it is:
Code: [Select]
ElkArte jest w 100 procentach darmowym i otwartym oprogramowaniem. Aktywnie wspieramy oraz akceptujemy wkład społeczności. Chcemy podziękować wszystkim którzy wspierali projekt w postaci pisania kodu, opinii, raportowali błędy, ponieważ to wszystko nie byłoby możliwe bez was. Podziękowania należą się również <a href="https://github.com/SimpleMachines" target="_blank" class="new_win">SMF</a> - projektowi z którego narodziło się ElkArte.
Title: Re: credits_intro
Post by: emanuele on June 14, 2014, 04:16:36 am
Darn...
I was reading the error message wrong. :-\

The problem is not in the translation but in the original message.
Indeed a bug in transifex, at the moment the only way to work around it is change:
Code: [Select]
ElkArte is 100% free and open-source.
in a way that there is not "% f".
Any suggestion?

Posted a question at transifex:
http://support.transifex.com/customer/en/portal/questions/7838077-possible-bug-in-the-online-editor?new=7838077
Title: Re: credits_intro
Post by: emanuele on July 01, 2014, 07:47:13 am
hmm apparently the questions area has been removed... :-\
Title: Re: credits_intro
Post by: emanuele on July 01, 2014, 08:00:47 am
Just to track down alternatives in case transifex doesn't meet our needs:
http://zanata.org/
Seems interesting. It's supported by redhat, so should be somehow reliable. Downside it doesn't support php arrays. :-\
Title: Re: credits_intro
Post by: Jorin on July 01, 2014, 08:12:51 am
Quote from: emanuele –
Code: [Select]
ElkArte is 100% free and open-source.
in a way that there is not "% f".
Any suggestion?

ElkArte is free and open source - 100%

or:

ElkArte is 100% open source and free.

Edit: Or:

ElkArte is free and open source - 100 percent! With ! ;)
Title: Re: credits_intro
Post by: emanuele on July 03, 2014, 05:30:29 am
Okay, got a response from transifex! :D

They told me there are settings to either reject the translation or just give a warning (I was looking for them, but I wasn't able to find the page... :-[).
I changed it now to warning, so now it will save the entry and then show you a little warning about it. ;D
Title: Re: credits_intro
Post by: Adrek on July 03, 2014, 11:16:08 am
It works! :D