Some instructions for testing this out in Horizon
- download your horizon code
- copy in your usual local_settings file. Edit it so that COMPRESS_OFFLINE is True.
- run the tests (which will make sure your virtual env is created)
./run_tests.sh
- compress the files
source .venv/bin/activate
set DJANGO_SETTINGS_MODULE=openstack_dashboard.settings
python manage.py compress
*Boom* will fail without the patch
- now, download the patch, and try the compress again
python manage.py compress
- fire up the development server
./run_tests.sh --runserver 0.0.0.0:8081
- Point your browser at localhost:8081 and look at the calendar widget on Admin->Overview (click one of the dates).
- Now change your language using the user drop down at the top->Settings/Language. Save it.
- The calendar on Admin->Overview should change language as well.
Some instructions for testing this out in Horizon
- download your horizon code
- copy in your usual local_settings file. Edit it so that COMPRESS_OFFLINE is True.
- run the tests (which will make sure your virtual env is created)
./run_tests.sh
- compress the files SETTINGS_ MODULE= openstack_ dashboard. settings
source .venv/bin/activate
set DJANGO_
python manage.py compress
*Boom* will fail without the patch
- now, download the patch, and try the compress again
python manage.py compress
- fire up the development server
./run_tests.sh --runserver 0.0.0.0:8081
- Point your browser at localhost:8081 and look at the calendar widget on Admin->Overview (click one of the dates). Language. Save it.
- Now change your language using the user drop down at the top->Settings/
- The calendar on Admin->Overview should change language as well.