Perhaps we could add another language so we can demo language specific features?

Comments

mpp created an issue. See original summary.

eli-t’s picture

I think this is a great aspiration.

It will be a lot of work, and we'd need to

  1. identify which language we should use - we will need multiple volunteers who speak it as a first language who are also fluent enough in English to understand the existing content
  2. adapt the content guidelines to the new language
  3. translate enough of the content to make the translated version viable
  4. translate the UI text
  5. update the Umami configuration to support the second language
  6. update the Umami install-time content import process to create the translated content
  7. update the UI to incorporate language switching
  8. ????
  9. profit

I have no idea how we pick a language - I guess a good starting point is the community of volunteers who are happy to work on it initially and going forward. There have probably been approximately 30-40 or so people involved with the generation, review and refinement of the US English version so far.

I'd also suggest using another Left to Right (LTR) language would be a good first choice of additional language to keep this managable. No reason we can't add an RTL language after though!

Version: 8.6.x-dev » 8.7.x-dev

Drupal 8.6.0-alpha1 will be released the week of July 16, 2018, which means new developments and disruptive changes should now be targeted against the 8.7.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

eli-t’s picture

Stray thought, but the easiest way to achieve this would be to have the second language be UK English. It wouldn't be as striking a demo but it would be the easiest way to achieve points 1-4 raised in #2.

penyaskito’s picture

I audited the site for translating everything, and aside of the two child issues I attached patches for (#2999893: Ensure umami views filter content by content negotiated language and #2999908: View more link in recipe cards is not fully translated), I didn't find any show stoppers for making this happen :-)

With those patches, I could fully translate the site using the Lingotek module and automatic translation.

eli-t’s picture

Thank you so much @penyaskito! This is awesome ♥️

gábor hojtsy’s picture

Note that https://www.drupal.org/project/multilingual_demo has a bunch of code to import translations of content items alongside the content items. It also uses CSV files, but would definitely need to be adapted.

gábor hojtsy’s picture

Also this functionality will hopefully make that install profile obsolete and this feature bundled with core which is AMAZING.

mpp’s picture

Yeah, great work!

penyaskito’s picture

For point 6 on the issue summary, would be nice to have #2931739: Bring migrate_source_csv to core.

I think the technical part and the translation part can run in parallel. Should we create issues for those?

penyaskito’s picture

Also found #2983573: Use migrate to build Umami content rather than bespoke code. which already takes care of that. Just so we don't overwork without adjusting priorities first.

Version: 8.7.x-dev » 8.8.x-dev

Drupal 8.7.0-alpha1 will be released the week of March 11, 2019, which means new developments and disruptive changes should now be targeted against the 8.8.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

shaal’s picture

Version: 8.8.x-dev » 8.7.x-dev
Status: Active » Closed (duplicate)