In Hawthorn, in the 
file 
/edx/app/edxapp/edx-platform/lms/static/js/student_account/views/account_settings_factory.js

There are some strings that refer to the account settings (social media 
links).
How can these strings be translated?
I tried to alter the file to translate them and then the update_assets 
command can not finish successfully.


On Tuesday, 20 November 2018 10:12:18 UTC+2, kos giannop wrote:
>
> Thanks, you are right!
> I first had to 
>
>
>    - python manage.py cms --settings=aws collectstatic --noinput
>    - python manage.py lms --settings=aws collectstatic --noinput
>
> then
>
>    - paver update_assets cms --settings=aws
>    - paver update_assets lms --settings=aws
>
> then
>
> /edx/bin/supervisorctl restart lms
> /edx/bin/supervisorctl restart cms
>
>
>
>
> On Monday, 19 November 2018 23:55:55 UTC+2, Lupus Furyo wrote:
>>
>> P.S. sorry, I meant these two commands
>> python manage.py cms compilejsi18n --settings=aws
>> python manage.py lms compilejsi18n --settings=aws
>>
>> On Tue, Nov 20, 2018 at 1:53 AM Lupus Furyo <[email protected]> wrote:
>>
>>> Hai, as suggested in the official documentation, to compile the java 
>>> script assets you need to use the last two commands. did you run them for 
>>> your Greek translations?
>>> Compile assets manually 
>>> <https://github.com/edx/configuration/wiki/edX-Managing-the-Full-Stack#compile-assets-manually>
>>>
>>> To compile javascript and css outside of the update script run the 
>>> following commands:
>>>
>>>    - sudo -H -u edxapp bash
>>>    - source /edx/app/edxapp/edxapp_env
>>>    - cd /edx/app/edxapp/edx-platform
>>>    - paver update_assets cms --settings=aws
>>>    - paver update_assets lms --settings=aws
>>>
>>> Suggest issuing the following to debug issues with r.js optimizer issues
>>>
>>>    - python manage.py cms --settings=aws collectstatic --noinput
>>>    - python manage.py lms --settings=aws collectstatic --noinput
>>>
>>>
>>> On Mon, Nov 19, 2018 at 7:10 PM kos giannop <[email protected]> wrote:
>>>
>>>> Why I need to edit manually 
>>>> the /edx/app/edxapp/edx-platform/lms/static/js/i18n/el/djangojs.js
>>>> Since I already have the next files translated?
>>>> /edx/app/edxapp/edx-platform/conf/locale/el/LC_MESSAGES/django.po
>>>> /edx/app/edxapp/edx-platform/conf/locale/el/LC_MESSAGES/django.mo
>>>> /edx/app/edxapp/edx-platform/conf/locale/el/LC_MESSAGES/djangojs.po
>>>> /edx/app/edxapp/edx-platform/conf/locale/el/LC_MESSAGES/djangojs.mo
>>>>
>>>> How can I embed the djangojs.mo instead of having to manually 
>>>> translate the 
>>>> /edx/app/edxapp/edx-platform/lms/static/js/i18n/el/djangojs.js 
>>>> ?
>>>>
>>>> -- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "General Open edX discussion" group.
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/edx-code/46ed3f14-e720-4d4e-aa33-20f443cffa8a%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/edx-code/46ed3f14-e720-4d4e-aa33-20f443cffa8a%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"General Open edX discussion" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/edx-code/259e360c-5917-4292-8a32-a3651152ca5e%40googlegroups.com.

Reply via email to