×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: package creation bloc

package creation bloc 11 years 3 weeks ago #20057

  • micker
  • micker's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 28
  • Thank you received: 0
hello i use ctransifex 1.1 and all was good ...
but in a few day it was block on package creation ..
We have created a zip package for af-ZA
We have created a zip package for ar-AA
We have created a zip package for ar-SA
We have created a zip package for az-AZ
We have created a zip package for be-BY
We have created a zip package for ca-ES
We have created a zip package for cs-CZ
We have created a zip package for da-DK
We have created a zip package for de-DE
We have created a zip package for el-GR
if i kill el-GR it bloc on de-DE .. etc
do you have an idea ?
regards

package creation bloc 11 years 3 weeks ago #20058

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
No, not really. Can you look at the ajax request response? Enable firebug for firefox or the chrome inspector tool and look at the ajax requests that take part. What is the response from the last request?
Regards,
Daniel

package creation bloc 11 years 3 weeks ago #20059

  • micker
  • micker's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 28
  • Thank you received: 0
it say
{"message":"We have created a zip package for el-GR","status":"success"}
but after script stop
no error nothing continu

package creation bloc 11 years 3 weeks ago #20060

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Well, if that is the reply it should continue if there are more files to be generated. The only reason why this could stop is either a JS error or a PHP error in the response.

Can I have a look at your site?
Daniel
The following user(s) said Thank You: micker

package creation bloc 11 years 3 weeks ago #20061

  • micker
  • micker's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 28
  • Thank you received: 0
yes ... can i have a mail to send mp ?

package creation bloc 11 years 3 weeks ago #20065

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081

package creation bloc 11 years 3 weeks ago #20068

  • micker
  • micker's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 28
  • Thank you received: 0
Done regards

package creation bloc 11 years 3 weeks ago #20070

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Actually at the moment when it brakes the response is empty. And it brakes not for DE-DE, but for en. Why do you have a language en? It should actually be en_GB ...

package creation bloc 11 years 3 weeks ago #20071

  • micker
  • micker's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 28
  • Thank you received: 0
You think i need to delete en in transifex or do we have an other want ?
tanks for checking

package creation bloc 11 years 3 weeks ago #20074

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Yes, go to en-GB.
Alternatively you can try to add a mapping for en to en-GB. But I'm not sure this is going to work. Because you also have en_GB mapped to en-GB and this will lead to problems. Just go with 1 format for the language.

package creation bloc 11 years 3 weeks ago #20081

  • micker
  • micker's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 28
  • Thank you received: 0
Hello in transifex i cant find option to delet en ... do you nnow how to ?

package creation bloc 11 years 3 weeks ago #20082

  • micker
  • micker's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 28
  • Thank you received: 0
with the client i do
tx delete -f -l en
but en entry already exist
other command line ?

package creation bloc 11 years 2 weeks ago #20127

  • Joerg
  • Joerg's Avatar
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 20
  • Thank you received: 1
Hello,

reading this forum thread, I just thought that our problem with ctransifex might be the same. I've installed ctransifex on one of my local test sites and on http://virtuemart.net/community/translations . ctransifex works for the VirtueMart core language files. But we have a seperate project on transifex for plugins (because especially payment plugins are often usable in a single country only), which doesn't work.

Using the transifex client for Windows I can pull the translations from both projects into a single language pack for each language. In ctransifex I've configured two seperate projects, one for the core files and another for the plugins, using the same tx client text file.

However, when trying to build the plugin language files, ctransifex stops working after building the first language pack.

I'm not a developer, so my capabilities to analyse the problem is limited (The VirtueMart devs are currently busy with other important work).

We do have an 'en' language on transifex, too (Originally I intended to use it to store alternative string suggestions for future versions). But deleting the 'en' from the client text file and from the com_ctransifex_configuration lang map doesn't solve the problem. In fact ctransifex does create an 'en' language pack of the core files.

What I can see in Firebug after the ctransifex script stops working is this:

<br />
<b>Warning</b>: Invalid argument supplied for foreach() in <b>...\administrator\components\com_ctransifex\helpers\package.php</b> on line <b>158</b><br />
{"message":"We have created a zip package for ar-AA","status":"success"}


and

JSON.parse: unexpected character
Line 503

Below are lines 502-504:
Object.each(obj,function(value,key){var   json=JSON.encode(value);if(json){string.push(JSON.encode(key)+":"+json);}});return"{"+string+"}";case"number":case"boolean":return""+obj;
case"null":return"null";}return null;};JSON.decode=function(string,secure){if(!string||typeOf(string)!="string"){return null;}if(secure||JSON.secure){if(JSON.parse){return JSON.parse(string);
}if(!JSON.validate(string)){throw new Error("JSON could not decode the input; security is enabled and the value is not secure.");}}return eval("("+string+")");

Any hints to solve that problem are welcome :)

package creation bloc 11 years 2 weeks ago #20128

  • micker
  • micker's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 28
  • Thank you received: 0
thanks for return !! i am not alone

package creation bloc 11 years 2 weeks ago #20131

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
@Joerg - the ooutput from the console points to a different problem. Can you disable error reporting on your site (set it to none in the global config) and try to rebuild the package.

Regards,
Daniel

package creation bloc 11 years 2 weeks ago #20133

  • micker
  • micker's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 28
  • Thank you received: 0
but how are the solution ...
we can't delete en language ... and it block ... it's a new problem, ctransifex has already work before now ...

package creation bloc 11 years 2 weeks ago #20134

  • Joerg
  • Joerg's Avatar
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 20
  • Thank you received: 1

Daniel Dimitrov wrote: Can you disable error reporting on your site (set it to none in the global config) and try to rebuild the package.


Hello Daniel,

I just set 'display_errors = Off' in the php.ini on my local test installation. With this setting it works. Do you have an idea to alter the code a little bit to solve the problem or is 'display_errors = Off' the solution?

If it also works on the live site, it will save me a lot of (voluntary) time, previously required to update all the language files for new VirtueMart releases.

Thank you very much for this :)

package creation bloc 11 years 2 weeks ago #20135

  • Joerg
  • Joerg's Avatar
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 20
  • Thank you received: 1

micker wrote: but how are the solution ...
we can't delete en language ...


In case the en language actually is your problem, I think you just have to delete the "en: en" at the beginning of the language map in the tx/client file AND in the language map stored at ctransifex > Projects > Options.

package creation bloc 11 years 2 weeks ago #20136

  • micker
  • micker's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 28
  • Thank you received: 0
I have killed en by client and no reference to en in ctransifex...
When i disconect my project to opentranslator hub no en when i connect it en is create .... why ?
I try opentranslator forum no reponse for one week ...

package creation bloc 11 years 2 weeks ago #20179

  • micker
  • micker's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 28
  • Thank you received: 0
hello now it work ... but all my zip are broken ...
sorry for many message ....
Attachments:
  • Page:
  • 1
  • 2
Time to create page: 0.470 seconds