Skip to content
This repository has been archived by the owner on Oct 29, 2020. It is now read-only.

Add internationalization tools. #2852

Merged
merged 2 commits into from
Jul 18, 2014
Merged

Add internationalization tools. #2852

merged 2 commits into from
Jul 18, 2014

Conversation

sergiitk
Copy link
Contributor

What's this PR do?

  • Install l10n_update module
  • Preset language update mode to "Edited translations are kept, only previously imported ones are overwritten and new translations are added"
  • Add drush "language" plugin
    https://www.drupal.org/project/drush_language

How should this be manually tested?

On VM host:

  • vagrant provision

On VM:

  • drush language-add fr
  • drush l10n-update-refresh
  • drush l10n-update
  • drush language-default fr
  • drush cc all

Any background context you want to provide?

All Congo site chrome must be translated to French.

What are the relevant tickets?

Closes #DOS-13

Sergii Tkachenko added 2 commits July 18, 2014 20:46
- Install l10n_update module
- Preset language update mode to
  "Edited translations are kept, only previously imported ones are overwritten
  and new translations are added"
- Add drush "language" plugin
  https://www.drupal.org/project/drush_language
@@ -38,9 +39,8 @@ dependencies[] = field_group
dependencies[] = file_entity
dependencies[] = flag
dependencies[] = i18n
dependencies[] = libraries
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this intentional? Off the top head I can't think of anything we're using this module for...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Already pushed a quickfix for that.

@aaronschachter
Copy link
Contributor

👍

sergiitk pushed a commit that referenced this pull request Jul 18, 2014
@sergiitk sergiitk merged commit eb81a19 into DoSomething:dev Jul 18, 2014
@sergiitk sergiitk deleted the install-l10n_update-module branch July 18, 2014 18:17
@sergiitk
Copy link
Contributor Author

BTW, here's a screenshot
screen shot 2014-07-18 at 7 44 51 pm

@sergiitk
Copy link
Contributor Author

QA is translated to French:

  • Login QA Server
  • cd /var/www/international.dosomething.org/current/html
  • drush @congo.qa language-add fr
  • drush @congo.qa l10n-update-refresh
  • drush @congo.qa l10n-update
  • drush @congo.qa language-default fr
  • drush @congo.qa cc all

@sergiitk
Copy link
Contributor Author

Few images for Wiki article:

image

image

image

image

image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants