Help test the new Drupal 8 automatic translation import

Events happening in the community are now at Drupal community events on www.drupal.org.
sutharsan's picture

Drupal 8 has now automatic interface translation import, and we need you to test it! With Localization Update module for Drupal 6 and 7 some people experience problems with when importing or large translation files. For Drupal 8 we have improved the code and added it to Drupal core. All works fine on our development servers, but how does it work in the real world? You can help!

Follow the steps below to test. Especially people who have experienced problems with Localization Update module and people with a slow server or a slow internet connection are encouraged to join the test.

  1. Check if your server matches the Drupal 8 requirements.
  2. Download and install the latest Drupal 8 development release.
  3. Select your language in the first installation step and install Drupal.
  4. During the installation the translation will be imported using a batch process. You will recognise a batch process by the blue progress bar. This import should continue smoothly until 100% completed.

When the translations get imported without errors, your test is successful. Please tell us. If not, please report your experience, preferably with screen capture video or screenshots. This video shows the installation in Dutch: http://www.youtube.com/watch?v=XzQAmCo8I1U

There is more to test, but it is a little harder. When you enable a module in your Drupal 8 site, the Interface Translation module will attempt to download and import its translation from the translation server at localize.drupal.org. But the translation server only provides translations of released modules, and not for development releases. To overcome this the Local Tamper module was developed which simulated a number of Drupal 7 modules (for which translations are available) and the Interface Translation module will downloads and imports these translations.

  1. Make sure you have Interface Translation and Language translation enabled and have added at least one non-English language. But if you have successfully followed the steps above, this has already been provided.
  2. Download the Locale Tamper module from http://drupal.org/project/locale_tamper.
  3. Unpack and install the module.
  4. Enable the Locale Tamper module.
  5. It will now attempt to find and download Locale Tamper translations (but none will be found).
  6. Go to the Available translation updates page (admin/reports/translations).
  7. Click 'Check manually' to refresh the translation status.
  8. The status will now show that a number of translation are available for the mocked modules: Better Formats, CKEditor Link, Compact Forms, Context, Chaos tools and Delta API.
  9. Click 'Update translations' to download and import the translations.
  10. This will start the download and import of a number of translations. Again a batch process runs to per form this. Again, this should progress until finished.

If the translations are imported without errors, your test is successful. Please tell us. If not, please report your experience, preferably with screen capture video or screenshots. This video shows how I used Locale Tamper: http://www.youtube.com/watch?v=Ivn0EvIXf5o

Comments

Works with Russian language

andypost's picture

Tested d8 + mysql 5.5

Install detected Russian as primary language somehow :)
Next install step and others are all in Russian language!!!
Setup completed without notices and D8 works fine.

Locally it works fine for me

patrickd's picture

Locally it works fine for me too

Unfortunately it does not work on simplytest.me even with correct permissions on the translations folder.

issue: http://drupal.org/node/1886164

Any ideas much appreciated

Not work

adrianmak's picture

All other languages not work except English.

Translations directory is not executable.

Only local images are allowed.

I'm on Windows environment.
I'm using Open Server WAMP package
http://open-server.ru/

I tried on another two WAMP package named EasyPHP, Acquia dev desktop, and got the same error.

http://www.easyphp.org/

and same problem when using

payamspot's picture

Same problem when using XAMPP on Windows 7, trying to install فارسی translation.

Applied the patch @eigentor mentioned using NetBeans IDE, and problem solved.

Translation files imported smoothly to 100% and Drupal 8 installed with no problem (in Persian!). Although Bartik is showing sidebar out of the monitor's window!

Works with patch applied

eigentor's picture

Installed on Windows 7 with Wampserver Web Server
Got the same error like @adrianmak first like many others. Applying this patch https://drupal.org/node/1886164#comment-6929898 helped.

There is a minor notice http://screencast.com/t/szzcavbirp9 on the site config screen after the batch process runs smoothly. Chosen language was german. Might get some new users worried as to what went wrong. The process takes a while, as to be expected.

The installation looks a bit strange, as most icons are missing from the lower part of toolbar:
http://screencast.com/t/nri1VdLofNV
But I guess that is not the fault of the translation import.

Life is a journey, not a destination

toolbar icons

gábor hojtsy's picture

That is being discussed in http://drupal.org/node/1848552 - indeed unrelated to translation import (but related to translations being present and how CSS classes are applied)

minor notice

gábor hojtsy's picture

The minor notice you pictured is related to http://drupal.org/node/1317884 (predates automated import, exists on Drupal 7 as well) - help welcome there :)

After applied the patch as

adrianmak's picture

After applied the patch as @eigentor said, the installation ran smoonth.

However I got the same minor issue like @eigentor, most icons are missed on the toolbar. I digged into the css using firebug, those missed icons of the anchor link didn't has a css rule to show an icon.

Works with Spanish locally

azarzag's picture

Language in the first installation imported without errors.

Locale Tamper module successfully imported translations for Better Formats, CKEditor Link, Compact Forms, Context, Chaos tools and Delta API.

Cheers,

missing icons issue

sutharsan's picture

There is an existing issue for the missing icons: Toolbar icons disappear with translated menu.

xuxizh's picture

After applied the patch as @eigentor said, the installation for Chinese simplified successfully.

windows xp + EasyPHp12.0.

However, there are some un-translated terms during the installation.

@all, untranslated strings

sutharsan's picture

@all, untranslated strings will continue to appear in all languages until a first Drupal 8 release (unstable, alpha, beta) is available and translators can start translating. Until that time the installation script will fall back to downloding the 7.0 Drupal translation. The translation server at localize.drupal.org only provides translations for released modules, themes and core.

Install French succesfully afeter applied the patch

tosirtep's picture

After applying the patch https://drupal.org/node/1886164 # comment-6929898, the installation took place in French successfully.

Debain wheezy + Apache/2.2.22 + php 5.4.4-10

A different solution

sutharsan's picture

We have a patch for a slightly different solution in http://drupal.org/node/1885510#comment-6929718. I like to see a few Windows users to test this before we put it RTBC.

Internationalization

Group organizers

Group categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: