Skip to content

Commit

Permalink
feat!: remove Transifex calls for FC-0012 - OEP-58
Browse files Browse the repository at this point in the history
  • Loading branch information
shadinaif committed Jan 31, 2024
1 parent 7c79af2 commit 243c2e9
Show file tree
Hide file tree
Showing 14 changed files with 1 addition and 731 deletions.
8 changes: 0 additions & 8 deletions .tx/config

This file was deleted.

9 changes: 1 addition & 8 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: build_dummy_translations clean compile_translations coverage detect_changed_source_translations docs dummy_translations extract_translations help pull_translations push_translations quality requirements selfcheck test test-all upgrade validate validate_translations
.PHONY: build_dummy_translations clean compile_translations coverage detect_changed_source_translations docs dummy_translations extract_translations help quality requirements selfcheck test test-all upgrade validate validate_translations

.DEFAULT_GOAL := help

Expand Down Expand Up @@ -101,13 +101,6 @@ compile_translations: ## compile translation files, outputting .mo files for eac
detect_changed_source_translations: ## Determines if the source translation files are up-to-date, otherwise exit with a non-zero code.
i18n_tool changed

pull_translations: ## pull translations from Transifex
i18n_tool transifex pull
make compile_translations

push_translations: extract_translations ## push source translation files (.po) to Transifex
i18n_tool transifex push

dummy_translations: ## generate dummy translation (.po) files
i18n_tool dummy

Expand Down
30 changes: 0 additions & 30 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -77,36 +77,6 @@ might also have to prepend ``PYTHONPATH=".:/path/to/xblock"`` to the
command above. (``/path/to/xblock`` is the path to the xblock-sdk, where
the workbench resides).

Working with translations
-------------------------

For information about working with translations, see the `Internationalization Support`_ section of
the `Open edX XBlock Tutorial`_.

Prepare your virtualenv and ensure that the `Transifex authentication file`_
(``~/.transifexrc``) is properly set up.

Push new strings to Transifex:

.. code:: bash
$ make push_translations
To get the latest translations from Transifex:

.. code:: bash
$ make pull_translations
For testing purposes it's faster to avoid Transifex and work on dummy Esperanto translations:

.. code:: bash
$ make build_dummy_translations
.. _Internationalization Support: http://edx.readthedocs.io/projects/xblock-tutorial/en/latest/edx_platform/edx_lms.html#internationalization-support
.. _Open edX XBlock Tutorial: https://xblock-tutorial.readthedocs.io/en/latest/
.. _Transifex authentication file: https://openedx.atlassian.net/wiki/display/OpenOPS/Running+Fullstack
Expand Down
13 changes: 0 additions & 13 deletions google_drive/conf/locale/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,7 @@

locales:
- en # English - Source Language
- eo # Esperanto
- ar # Arabic
- es_419 # Spanish (Latin America)
- ja_JP # Japanese
- fr # French
- fr_CA # French (Canada)
- he # Hebrew
- hi # Hindi
- ko_KR # Korean (Korea)
- pt_BR # Portuguese (Brazil)
- ru # Russian
- zh_CN # Chinese (China)

# The locales used for fake-accented English, for testing.
dummy_locales:
- eo

117 changes: 0 additions & 117 deletions google_drive/conf/locale/en/LC_MESSAGES/django.po

This file was deleted.

1 change: 0 additions & 1 deletion google_drive/conf/locale/en/LC_MESSAGES/text.po

This file was deleted.

Binary file removed google_drive/conf/locale/eo/LC_MESSAGES/text.mo
Binary file not shown.
149 changes: 0 additions & 149 deletions google_drive/conf/locale/eo/LC_MESSAGES/text.po

This file was deleted.

Binary file removed google_drive/conf/locale/es_419/LC_MESSAGES/text.mo
Binary file not shown.
Loading

0 comments on commit 243c2e9

Please sign in to comment.