Problems during paver i18n_robot_pull...

1,580 views
Skip to first unread message

Nicolas Gikopoulos

unread,
Aug 28, 2014, 9:17:54 AM8/28/14
to openedx-t...@googlegroups.com
Hello, I would like to ask for your expertise of the following matter:

I followed the guide bellow:

and I got an error after I executed the following command:
paver i18n_robot_pull

I am pasting bellow only the final part of the output:


---> pavelib.i18n.i18n_extract
---> pavelib.i18n.i18n_validate_gettext
/usr/bin/xgettext
---> pavelib.assets.compile_coffeescript
node_modules/.bin/coffee --compile `find /edx/app/edxapp/themes/cuptheme /edx/app/edxapp/edx-platform/lms /edx/app/edxapp/edx-platform/cms /edx/app/edxapp/edx-platform/common -type f -name "*.coffee"`
i18n_tool extract
INFO:i18n.execute:Deleting file conf/locale/en/LC_MESSAGES/django.po
WARNING:i18n.execute:File does not exist: conf/locale/en/LC_MESSAGES/django.po
INFO:i18n.execute:Executing in /edx/app/edxapp/edx-platform ...
INFO:i18n.execute:pybabel -q extract --mapping=conf/locale/babel_mako.cfg --add-comments="Translators:" --keyword="interpolate" . --output=conf/locale/en/LC_MESSAGES/mako.po
INFO:i18n.execute:Executing in /edx/app/edxapp/edx-platform ...
INFO:i18n.execute:pybabel -q extract --mapping=conf/locale/babel_underscore.cfg --add-comments="Translators:" --keyword="interpolate" . --output=conf/locale/en/LC_MESSAGES/underscore.po
INFO:i18n.execute:Executing in /edx/app/edxapp/edx-platform ...
INFO:i18n.execute:django-admin.py makemessages -l en -v0 --ignore="docs/*" --ignore="src/*" --ignore="i18n/*" --ignore="test_root/*" --ignore="common/static/xmodule/modules/*" --ignore="common/static/xmodule/descriptors/*" --extension html
INFO:i18n.execute:Executing in /edx/app/edxapp/edx-platform ...
INFO:i18n.execute:django-admin.py makemessages -l en -v0 --ignore="docs/*" --ignore="src/*" --ignore="i18n/*" --ignore="test_root/*" --ignore="common/static/xmodule/modules/*" --ignore="common/static/xmodule/descriptors/*" -d djangojs --extension js
INFO:i18n.execute:Executing in /edx/app/edxapp/venvs/edxapp/src/django-wiki ...
INFO:i18n.execute:pybabel -q extract -F /edx/app/edxapp/edx-platform/conf/locale/babel_third_party.cfg -c "Translators:" wiki -o /edx/app/edxapp/edx-platform/conf/locale/en/LC_MESSAGES/wiki.po
INFO:i18n.segment:Reading 184 entries from /edx/app/edxapp/edx-platform/conf/locale/en/LC_MESSAGES/underscore.po
INFO:i18n.segment:Writing 179 entries to /edx/app/edxapp/edx-platform/conf/locale/en/LC_MESSAGES/underscore-studio.po
INFO:i18n.segment:Writing 5 entries to /edx/app/edxapp/edx-platform/conf/locale/en/LC_MESSAGES/underscore.po
INFO:i18n.segment:Reading 1822 entries from /edx/app/edxapp/edx-platform/conf/locale/en/LC_MESSAGES/mako.po
INFO:i18n.segment:Writing 1331 entries to /edx/app/edxapp/edx-platform/conf/locale/en/LC_MESSAGES/mako.po
INFO:i18n.segment:Writing 491 entries to /edx/app/edxapp/edx-platform/conf/locale/en/LC_MESSAGES/mako-studio.po
INFO:i18n.segment:Reading 1195 entries from /edx/app/edxapp/edx-platform/conf/locale/en/LC_MESSAGES/django-partial.po
INFO:i18n.segment:Writing 1137 entries to /edx/app/edxapp/edx-platform/conf/locale/en/LC_MESSAGES/django-partial.po
INFO:i18n.segment:Writing 58 entries to /edx/app/edxapp/edx-platform/conf/locale/en/LC_MESSAGES/django-studio.po
INFO:i18n.segment:Reading 653 entries from /edx/app/edxapp/edx-platform/conf/locale/en/LC_MESSAGES/djangojs-partial.po
INFO:i18n.segment:Writing 529 entries to /edx/app/edxapp/edx-platform/conf/locale/en/LC_MESSAGES/djangojs-partial.po
INFO:i18n.segment:Writing 124 entries to /edx/app/edxapp/edx-platform/conf/locale/en/LC_MESSAGES/djangojs-studio.po
INFO:i18n.extract:Cleaning /edx/app/edxapp/edx-platform/conf/locale/en/LC_MESSAGES/django-partial.po
INFO:i18n.extract:Cleaning /edx/app/edxapp/edx-platform/conf/locale/en/LC_MESSAGES/wiki.po
INFO:i18n.extract:Cleaning /edx/app/edxapp/edx-platform/conf/locale/en/LC_MESSAGES/django-studio.po
INFO:i18n.extract:Cleaning /edx/app/edxapp/edx-platform/conf/locale/en/LC_MESSAGES/djangojs-partial.po
INFO:i18n.extract:Cleaning /edx/app/edxapp/edx-platform/conf/locale/en/LC_MESSAGES/djangojs-studio.po
INFO:i18n.extract:Cleaning /edx/app/edxapp/edx-platform/conf/locale/en/LC_MESSAGES/mako.po
INFO:i18n.extract:Cleaning /edx/app/edxapp/edx-platform/conf/locale/en/LC_MESSAGES/underscore-studio.po
INFO:i18n.extract:Cleaning /edx/app/edxapp/edx-platform/conf/locale/en/LC_MESSAGES/mako-studio.po
INFO:i18n.extract:Cleaning /edx/app/edxapp/edx-platform/conf/locale/en/LC_MESSAGES/underscore.po
---> pavelib.i18n.i18n_dummy
i18n_tool dummy
Traceback (most recent call last):
  File "/edx/app/edxapp/venvs/edxapp/bin/i18n_tool", line 9, in <module>
    load_entry_point('i18n-tools==0.1', 'console_scripts', 'i18n_tool')()
  File "/edx/app/edxapp/venvs/edxapp/src/i18n-tools/i18n/main.py", line 38, in main
    return module.main()
  File "/edx/app/edxapp/venvs/edxapp/src/i18n-tools/i18n/__init__.py", line 36, in __call__
    self.run(args)
  File "/edx/app/edxapp/venvs/edxapp/src/i18n-tools/i18n/dummy.py", line 209, in run
    for locale, converter in zip(config.CONFIGURATION.dummy_locales, [Dummy(), Dummy2()]):
TypeError: zip argument #1 must support iteration


Captured Task Output:
---------------------

---> pavelib.i18n.i18n_robot_pull
---> pavelib.i18n.i18n_transifex_pull
---> pavelib.i18n.i18n_validate_transifex_config
i18n_tool transifex pull
---> pavelib.i18n.i18n_extract
---> pavelib.i18n.i18n_validate_gettext
---> pavelib.assets.compile_coffeescript
node_modules/.bin/coffee --compile `find /edx/app/edxapp/themes/cuptheme /edx/app/edxapp/edx-platform/lms /edx/app/edxapp/edx-platform/cms /edx/app/edxapp/edx-platform/common -type f -name "*.coffee"`
i18n_tool extract
---> pavelib.i18n.i18n_dummy
i18n_tool dummy

Build failed running pavelib.i18n.i18n_robot_pull: Subprocess return code: 1




Any help would be most welcome!

Thank you


Sarina Canelake

unread,
Aug 28, 2014, 10:46:36 AM8/28/14
to openedx-t...@googlegroups.com
Hi Nicolas,

There is an error here:

  File "/edx/app/edxapp/venvs/edxapp/src/i18n-tools/i18n/dummy.py", line 209, in run
    for locale, converter in zip(config.CONFIGURATION.dummy_locales, [Dummy(), Dummy2()]):
TypeError: zip argument #1 must support iteration

So we should examine your config file. Here is the edx-platform config file: https://github.com/edx/edx-platform/blob/master/conf/locale/config.yaml note the entry for "dummy_locales" at L84.

Does your config file have a line that looks like this?

Feel free to share your file with us. For long output (like sharing a whole file, or a long traceback like was pasted into your email), it is great if your email contains a link to the output in a text file (hosted at gist.github.com, pastebin.com, or some other site of your choosing) rather than dumping it all in the email body. Code sites preserve formatting and it's much easier to read through.

Best,
Sarina




--
You received this message because you are subscribed to the Google Groups "openedx-translation" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openedx-transla...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Nicolas Gikopoulos

unread,
Aug 28, 2014, 12:18:59 PM8/28/14
to openedx-t...@googlegroups.com
Thank you very much Sarina for your immediate response!
you were right!!!!  I had put the '#' just before the 2 dummy locales!!! 

sadly now I have a different error, I paste the end of the i18n_robot_pull output in gist bellow:
Nicolas.

Sarina Canelake

unread,
Aug 28, 2014, 1:00:19 PM8/28/14
to openedx-t...@googlegroups.com
Hi Nicolas,

That's actually not an error, that's just a warning. Although you haven't specifically put certain language codes into your config.yaml, we do actually commit the language files to the edx-platform repo, see https://github.com/edx/edx-platform/tree/master/conf/locale

So what you're seeing is, I think, problems that are pre-existing on Master for those translations. You can ignore these warnings if you are not using these language codes (obviously, we do! - German and Armenian are not supported on edx.org).

Does that help you out?

Sarina

PS: Any German or Armenian translators... you should probably fix those issues :)




Nicolas Gikopoulos

unread,
Aug 29, 2014, 9:07:45 AM8/29/14
to openedx-t...@googlegroups.com
Yes I think it works, 
It is just a few words that I see in my native language, so now I am trying to pull unreviewed translations... 

Thank you very much for your valuable help!!!
much appreciated!!!


Nicolas Gikopoulos

unread,
Sep 1, 2014, 10:59:54 AM9/1/14
to openedx-t...@googlegroups.com
Hello, and sorry to bring this up again,
I have a different error now while running paver i18n_robot pull  (after updating open-edx)
please have a look at the following output:

Then I tried to run the following line:
edxapp@ledu:~/edx-platform$ django-admin.py makemessages -l en -v0 --ignore="docs/*" --ignore="src/*" --ignore="i18n/*" --ignore="test_root/*" --ignore="common/static/xmodule/modules/*" --ignore="common/static/xmodule/descriptors/*" -d djangojs --extension js
 
And got the following error:
Error: errors happened while running xgettext on discussion_thread_view_spec.js
./common/static/coffee/spec/discussion/view/discussion_thread_view_spec.js.c:201: warning: Empty msgid.  It is reserved by GNU gettext:
gettext("") returns the header entry with meta information, not the empty string.

Any clues?
Thank you in advance
Nicolas.

Nicolas Gikopoulos

unread,
Sep 2, 2014, 12:42:13 PM9/2/14
to openedx-t...@googlegroups.com
Hello again,
Just to overcome the last error ignored the file that had the problem  (common/static/coffee/spec/discussion/view/discussion_thread_view_spec.js). 
So the i18n_robot_pull continued, and after restarting the services,  LMS translation was ok but  CMS - (edx-studio) looked like the following image:

I saw in the source code that all the paths to css files were incorrect...
see the source here.

Is there any way so that the i18n_robot_pull do not touch the edx-studio? I only need the lms to be translated....
Thank you in advance,
Nicolas

Alexander Lohberg

unread,
Sep 3, 2014, 3:32:22 AM9/3/14
to openedx-t...@googlegroups.com
Hi,
 
I am trying to get a german localization running at an amazon aws johnnycake instance.
I followed the wiki guideline(https://github.com/edx/edx-platform/wiki/Internationalization-and-localization),
and now I am at the point where i got the

paver i18n_robot_pull

running, and then it asks me:

Continue with committing these translations (y/n)?

Which I aswered with 'y'

Finally it ends with errors :-(.
.
.
.
i18n_tool validate
WARNING
:i18n.validate:
fake2
/LC_MESSAGES/underscore-studio.po:115: 'msgstr' is not a valid Python format string, unlike 'msgid'. Reason: The character that terminates the directive number 1 is not a valid conversion specifier.
msgfmt
: found 1 fatal error

ERROR
:i18n.validate: 1 problems in /edx/app/edxapp/edx-platform/conf/locale/hy_AM/LC_MESSAGES/django.po, details in .prob file
ERROR
:i18n.validate: 3 problems in /edx/app/edxapp/edx-platform/conf/locale/fr/LC_MESSAGES/django.po, details in .prob file
ERROR
:i18n.validate: 2 problems in /edx/app/edxapp/edx-platform/conf/locale/es_419/LC_MESSAGES/django.po, details in .prob file
ERROR
:i18n.validate: 1 problems in /edx/app/edxapp/edx-platform/conf/locale/de_DE/LC_MESSAGES/djangojs.po, details in .prob file
ERROR
:i18n.validate: 3 problems in /edx/app/edxapp/edx-platform/conf/locale/de_DE/LC_MESSAGES/django.po, details in .prob file
ERROR
:i18n.validate: 1 problems in /edx/app/edxapp/edx-platform/conf/locale/zh_CN/LC_MESSAGES/djangojs.po, details in .prob file
Continue with committing these translations (y/n)? y
git add conf
/locale
git commit
--message="Update translations (autogenerated message)" --edit

*** Please tell me who you are.

Run

 git config
--global user.email "y...@example.com"
 git config
--global user.name "Your Name"

to
set your account's default identity.
Omit --global to set the identity only in this repository.

fatal: empty ident <edx...@ip-10-67-169-22.ec2.internal
> not allowed



Captured Task Output:
---------------------

---> pavelib.i18n.i18n_robot_pull
---> pavelib.i18n.i18n_transifex_pull
---> pavelib.i18n.i18n_validate_transifex_config
i18n_tool transifex pull
---> pavelib.i18n.i18n_extract
---> pavelib.i18n.i18n_validate_gettext
---> pavelib.assets.compile_coffeescript
node_modules/.bin/coffee --compile `find /edx/app/edxapp/edx-platform/lms /edx/app/edxapp/edx-platform/cms /edx/app/edxapp/edx-platform/common -type f -name "*.coffee"`

i18n_tool extract
---> pavelib.i18n.i18n_dummy
i18n_tool dummy
---> pavelib.i18n.i18n_generate_strict
i18n_tool generate --strict
git clean -fdX conf/locale
i18n_tool validate
git add conf/locale
git commit --message="Update translations (autogenerated message)" --edit

Build failed running pavelib.i18n.i18n_robot_pull: Subprocess return code: 128





The strange thing is, I got a few fragments of german text appearing at the lms and cms (just a few bits)

I also tried to change the language_code in

/edx/app/edxapp/lms.env.json
and
/edx/app/edxapp/cms.env.json


from "en" to "de-de"

and followed the advice from
Oleksii Molchanovskyi (https://groups.google.com/forum/#!topic/openedx-translation/yMO-y6v5AXA)
To change the default language of the users inside the mysql-database


What should i do now?

Nicolas Gikopoulos

unread,
Sep 3, 2014, 4:18:35 AM9/3/14
to openedx-t...@googlegroups.com
The first step would be to follow the instructions that appeared after you pressed 'y'

Run
 git config
--global user.email "y...@example.com"
 git config
--global user.name "Your Name"

then rerun paver i18n_robot_pull
and if it is succesfull
you can restart open edx services to see the results...
Nicolas.


--
You received this message because you are subscribed to a topic in the Google Groups "openedx-translation" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/openedx-translation/ZSMU_sFZh04/unsubscribe.
To unsubscribe from this group and all its topics, send an email to openedx-transla...@googlegroups.com.

Alexander Lohberg

unread,
Sep 3, 2014, 6:29:03 AM9/3/14
to openedx-t...@googlegroups.com
Hi Nicolas,

Thank you so much for your hint.
I did so and it worked out, the translations appeared.

As the review process for the german language is not completete, I need to update in the future...

Now I have the next prob :-(

as i did a rerun of
paver i18n_robot_pull

it was no longer running smooth through the language files in red and whit as before, but did error, like I had before on another instance...
and exited with an error

What is the problem now? I think this beaviour is very strange ... Could anyone help?

Alexander




.
.
.
Encountered error Syntax error in po file None (line 1) with filename /edx/app/edxapp/edx-platform/conf/locale/zh_HK/LC_MESSAGES/djangojs-partial.po - language project may no longer exist on Transifex
Encountered error Syntax error in po file None (line 1) with filename /edx/app/edxapp/edx-platform/conf/locale/zh_HK/LC_MESSAGES/mako.po - language project may no longer exist on Transifex
Encountered error Syntax error in po file None (line 1) with filename /edx/app/edxapp/edx-platform/conf/locale/zh_TW/LC_MESSAGES/django-partial.po - language project may no longer exist on Transifex
Encountered error Syntax error in po file None (line 1) with filename /edx/app/edxapp/edx-platform/conf/locale/zh_TW/LC_MESSAGES/djangojs-partial.po - language project may no longer exist on Transifex
Encountered error Syntax error in po file None (line 1) with filename /edx/app/edxapp/edx-platform/conf/locale/zh_TW/LC_MESSAGES/mako.po - language project may no longer exist on Transifex

---> pavelib.i18n.i18n_extract
---> pavelib.i18n.i18n_validate_gettext
/usr/bin/xgettext
---> pavelib.assets.
compile_coffeescript
node_modules
/.bin/coffee --compile `find /edx/app/edxapp/edx-platform/lms /edx/app/edxapp/edx-platform/cms /edx/app/edxapp/edx-platform/common -type f -name "*.coffee"`

i18n_tool extract
INFO
:i18n.execute:Deleting file conf/locale/en/LC_MESSAGES/django.po
WARNING
:i18n.execute:File does not exist: conf/locale/en/LC_MESSAGES/django.po
INFO
:i18n.execute:Executing in /edx/app/edxapp/edx-platform ...
INFO
:i18n.execute:pybabel -q extract --mapping=conf/locale/babel_mako.cfg --add-comments="Translators:" --keyword="interpolate" . --output=conf/locale/en/LC_MESSAGES/mako.po
INFO
:i18n.execute:Executing in /edx/app/edxapp/edx-platform ...
INFO
:i18n.execute:pybabel -q extract --mapping=conf/locale/babel_underscore.cfg --add-comments="Translators:" --keyword="interpolate" . --output=conf/locale/en/LC_MESSAGES/underscore.po
INFO
:i18n.execute:Executing in /edx/app/edxapp/edx-platform ...
INFO
:i18n.execute:django-admin.py makemessages -l en -v0 --ignore="docs/*" --ignore="src/*" --ignore="i18n/*" --ignore="test_root/*" --ignore="common/static/xmodule/modules/*" --ignore="common/static/xmodule/descriptors/*" --extension html
INFO
:i18n.execute:Executing in /edx/app/edxapp/edx-platform ...
INFO
:i18n.execute:django-admin.py makemessages -l en -v0 --ignore="docs/*" --ignore="src/*" --ignore="i18n/*" --ignore="test_root/*" --ignore="common/static/xmodule/modules/*" --ignore="common/static/xmodule/descriptors/*" -d djangojs --extension js
INFO
:i18n.execute:Executing in /edx/app/edxapp/venvs/edxapp/src/django-wiki ...
INFO
:i18n.execute:pybabel -q extract -F /edx/app/edxapp/edx-platform/conf/locale/babel_third_party.cfg -c "Translators:" wiki -o /edx/app/edxapp/edx-platform/conf/locale/en/LC_MESSAGES/wiki.
po
INFO
:i18n.segment:Reading 182 entries from /edx/app/edxapp/edx-platform/conf/locale/en/LC_MESSAGES/underscore.po
INFO
:i18n.segment:Writing 177 entries to /edx/app/edxapp/edx-platform/conf/locale/en/LC_MESSAGES/underscore-studio.po
INFO
:i18n.segment:Writing 5 entries to /edx/app/edxapp/edx-platform/conf/locale/en/LC_MESSAGES/underscore.po
INFO
:i18n.segment:Reading 1800 entries from /edx/app/edxapp/edx-platform/conf/locale/en/LC_MESSAGES/mako.po
INFO
:i18n.segment:Writing 1309 entries to /edx/app/edxapp/edx-platform/conf/locale/en/LC_MESSAGES/mako.po
INFO
:i18n.segment:Writing 491 entries to /edx/app/edxapp/edx-platform/conf/locale/en/LC_MESSAGES/mako-studio.po
INFO
:i18n.segment:Reading 1195 entries from /edx/app/edxapp/edx-platform/conf/locale/en/LC_MESSAGES/django-partial.po
INFO
:i18n.segment:Writing 1137 entries to /edx/app/edxapp/edx-platform/conf/locale/en/LC_MESSAGES/django-partial.po
INFO
:i18n.segment:Writing 58 entries to /edx/app/edxapp/edx-platform/conf/locale/en/LC_MESSAGES/django-studio.po
INFO
:i18n.segment:Reading 650 entries from /edx/app/edxapp/edx-platform/conf/locale/en/LC_MESSAGES/djangojs-partial.po
INFO
:i18n.segment:Writing 529 entries to /edx/app/edxapp/edx-platform/conf/locale/en/LC_MESSAGES/djangojs-partial.po
INFO
:i18n.segment:Writing 121 entries to /edx/app/edxapp/edx-platform/conf/locale/en/LC_MESSAGES/djangojs-studio.po
INFO
:i18n.extract:Cleaning /edx/app/edxapp/edx-platform/conf/locale/en/LC_MESSAGES/django-partial.po
INFO
:i18n.extract:Cleaning /edx/app/edxapp/edx-platform/conf/locale/en/LC_MESSAGES/wiki.po
INFO
:i18n.extract:Cleaning /edx/app/edxapp/edx-platform/conf/locale/en/LC_MESSAGES/django-studio.po
INFO
:i18n.extract:Cleaning /edx/app/edxapp/edx-platform/conf/locale/en/LC_MESSAGES/djangojs-partial.po
INFO
:i18n.extract:Cleaning /edx/app/edxapp/edx-platform/conf/locale/en/LC_MESSAGES/djangojs-studio.po
INFO
:i18n.extract:Cleaning /edx/app/edxapp/edx-platform/conf/locale/en/LC_MESSAGES/mako.po
INFO
:i18n.extract:Cleaning /edx/app/edxapp/edx-platform/conf/locale/en/LC_MESSAGES/underscore-studio.po
INFO
:i18n.extract:Cleaning /edx/app/edxapp/edx-platform/conf/locale/en/LC_MESSAGES/mako-studio.po
INFO
:i18n.extract:Cleaning /edx/app/edxapp/edx-platform/conf/locale/en/LC_MESSAGES/underscore.po
---> pavelib.i18n.i18n_dummy
i18n_tool dummy
---> pavelib.i18n.i18n_generate_strict
i18n_tool generate
--
strict
INFO
:i18n.generate:Merging djangojs.po for locale am
Traceback (most recent call last):
 
File "/edx/app/edxapp/venvs/edxapp/bin/i18n_tool", line 9, in <module>
    load_entry_point
('i18n-tools==0.1', 'console_scripts', 'i18n_tool')()
 
File "/edx/app/edxapp/venvs/edxapp/src/i18n-tools/i18n/main.py", line 38, in main
   
return module.main()
 
File "/edx/app/edxapp/venvs/edxapp/src/i18n-tools/i18n/__init__.py", line 36, in __call__
   
self.run(args)

 
File "/edx/app/edxapp/venvs/edxapp/src/i18n-tools/i18n/generate.py", line 125, in run
    merge_files
(locale, fail_if_missing=args.strict)
 
File "/edx/app/edxapp/venvs/edxapp/src/i18n-tools/i18n/generate.py", line 68, in merge_files
    merge
(locale, target, sources, fail_if_missing)
 
File "/edx/app/edxapp/venvs/edxapp/src/i18n-tools/i18n/generate.py", line 44, in merge
    validate_files
(locale_directory, sources)
 
File "/edx/app/edxapp/venvs/edxapp/src/i18n-tools/i18n/generate.py", line 110, in validate_files
   
raise Exception("I18N: Cannot generate because file not found: {0}".format(pathname))
Exception: I18N: Cannot generate because file not found: /edx/app/edxapp/edx-platform/conf/locale/am/LC_MESSAGES/djangojs-partial.po


Captured Task Output:
---------------------

---> pavelib.i18n.i18n_robot_pull
---> pavelib.i18n.i18n_transifex_pull
---> pavelib.i18n.i18n_validate_transifex_config
i18n_tool transifex pull
---> pavelib.i18n.i18n_extract
---> pavelib.i18n.i18n_validate_gettext
---> pavelib.assets.
compile_coffeescript
node_modules
/.bin/coffee --compile `find /edx/app/edxapp/edx-platform/lms /edx/app/edxapp/edx-platform/cms /edx/app/edxapp/edx-platform/common -type f -name "*.coffee"`

i18n_tool extract
---> pavelib.i18n.i18n_dummy
i18n_tool dummy
---> pavelib.i18n.i18n_generate_strict
i18n_tool generate
--strict

Sarina Canelake

unread,
Sep 15, 2014, 11:37:42 AM9/15/14
to openedx-t...@googlegroups.com
Hey there - I've just merged in some tooling for pulling unreviewed translations:


It enables you to pull RTL or LTR reviewed + unreviewed translations. If you want to do something more specific than that, I recommend you fork our i18n-tools repo, and add in the specific tooling that you want to use. https://github.com/edx/i18n-tools

--
You received this message because you are subscribed to the Google Groups "openedx-translation" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openedx-transla...@googlegroups.com.

Sarina Canelake

unread,
Sep 15, 2014, 11:38:56 AM9/15/14
to openedx-t...@googlegroups.com
Yep, that was an error that had been solved a few weeks ago by this PR: https://github.com/edx/edx-platform/pull/4846

Sarina Canelake

unread,
Sep 15, 2014, 11:39:32 AM9/15/14
to openedx-t...@googlegroups.com
Wrong one! That error was fixed by this: https://github.com/edx/edx-platform/pull/5051

Sarina Canelake

unread,
Sep 15, 2014, 11:41:09 AM9/15/14
to openedx-t...@googlegroups.com
Alexander and Nicolas - if you are still experiencing troubles, please start up a new discussion thread - it becomes hard to follow when things get long.

Alexandar, please, please do not paste such long output in an email. For long output (like sharing a whole file, or a long traceback like was pasted into your email), it is great if your email contains a link to the output in a text file (hosted at gist.github.compastebin.com, or some other site of your choosing) rather than dumping it all in the email body. Code sites preserve formatting and it's much easier to read through.

Nicolas Gikopoulos

unread,
Sep 16, 2014, 6:40:08 AM9/16/14
to openedx-t...@googlegroups.com
Thank you very Much Sarina, your help is much appreciated, 
I had already solved my problems. Everything was fine after I run migrations...
Thank you again for your time, 
It's a great project!






--
You received this message because you are subscribed to a topic in the Google Groups "openedx-translation" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/openedx-translation/ZSMU_sFZh04/unsubscribe.
To unsubscribe from this group and all its topics, send an email to openedx-transla...@googlegroups.com.

Domas J

unread,
Feb 25, 2015, 11:24:41 AM2/25/15
to openedx-t...@googlegroups.com
How did you solved this problem? Same here...
Reply all
Reply to author
Forward
0 new messages