Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure the Localization server module #1

Closed
olafgrabienski opened this issue Feb 19, 2017 · 7 comments
Closed

Configure the Localization server module #1

olafgrabienski opened this issue Feb 19, 2017 · 7 comments

Comments

@olafgrabienski
Copy link

To start using https://localize.backdropcms.org as a localization server, we have to configure the Localization server module at admin/l10n_server.

Relevant Gitter discussion:

I could (...) try to configure the translation server. For the moment, I've found only some docs that seems outdated (http://hojtsy.hu/blog/2010-may-05/using-drupal-collaborative-software-translation-tool), but I'll search for more. (@olafgrabienski)

file an issue for configuring the l10n_server (...) and you and I can stumble through it (@serundeputy)

I never configured a l10n server before either, but I try to help as much as I can too. (@klonos)

So, let's start!

@olafgrabienski
Copy link
Author

olafgrabienski commented Feb 19, 2017

@olafgrabienski
Copy link
Author

olafgrabienski commented Feb 22, 2017

Yay, I've made some steps to configure the Localization server module, added a project (Drupal core) and three languages as examples, and imported the relevant language files from drupal.org.

At the moment, anonymous users can explore translations. Community roles and permissions are to be done.

URL: https://localize.backdropcms.org/translate

Configuration steps so far:

  • admin/l10n_server/connectors
    Gettext files from file uploads
  • admin/l10n_server/projects/add
    Added the project Drupal (for Drupal core).
  • admin/l10n_server/projects/releases/drupal/add
    Added release: 7.54.
    To generate a (English) Source file for translations, I took a German .po and replaced the translations with empty translations strings.
  • admin/people/create
    Created an authenticated Drupal user named "Multiple contributors" to be able to attribute bulk translations (file imports) to a not personal username.
  • admin/l10n_server/l10n_community
    Account associated with bulk imports: "Multiple contributors"
    Unfortunately, I discovered the last two steps only after the first language import, resulting in the German language translations attributed to my personal username.
  • admin/config/regional/language
    Added German, Greek and Spanish as example languages.
  • translate/languages/[de|el|es]/import
    Imported .pofiles for the example languages.
  • admin/l10n_server/packager
    "Repackaged" once. As a result, you can download translations.
  • admin/people/permissions
    Permissions for Anonymous user:
    access localization community, browse translations

@todo: Add a role and permissons (e.g. submit suggestions) for translation community members. Update: that will be another issue, see Roadmap, issue #5 .

@olafgrabienski
Copy link
Author

Interestingly, the three example languages seem to be translated completely (which won't be the case with Backdrop later). Maybe I should add a less translated language for demonstration purposes of the community translation interface ...

@olafgrabienski
Copy link
Author

olafgrabienski commented Feb 22, 2017

Imported Swahili which has only 8 (!) translations.

@todo to have a download of the Swahili .po file: "Repackage now" on admin/l10n_server/packager

@olafgrabienski olafgrabienski mentioned this issue Feb 23, 2017
8 tasks
@olafgrabienski
Copy link
Author

olafgrabienski commented Feb 28, 2017

I've configured the translation server now to handle Backdrop language files as well!

  • admin/l10n_server/projects/add
    Added the project Backdrop CMS
  • admin/l10n_server/projects/releases/backdropcms/add
    Added release: 1.6.1.
    To generate the English Source file for translations, I exported a .pot (language template) file of a Backdrop test site. (See also issue Generate English Backdrop language files regularly #6, Generate English Backdrop language files regularly.)
  • admin/l10n_server/packager
    Backdrop CMS > Repackage now (provides translation downloads)

Looking at https://localize.backdropcms.org/translate/projects/backdropcms I have the impression that Drupal 7.54 strings which exist in Backdrop have been automatically adopted by Backdrop CMS:

screen-localize-backdrop-translations

@quicksketch
Copy link
Member

Wow this is great @olafgrabienski! Fantastic work so far. 😄

@olafgrabienski
Copy link
Author

Closing this issue; the basic configuration is done for quite a while.

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

No branches or pull requests

2 participants