Title: Translating Content
Section: Translating Your Site
File name: language-content-translate.txt
Covers: Translate the site home page. Follow-on task: Add Langauge Switcher block to Sidebar Second once the site has been at least partially translated.

Attribution

See https://userguide_new-drupal.dev.devdrupal.org/guidelines/guidelines.htm...
[Fill in!]

Checklist for this phase

- Does it follow the template?
- Have the comments and placeholder text been removed from the template?
- Is everything the topic was supposed to cover included, and nothing extra?
- If there are @todo notes, are they clear?
- If there are images included, do they include instructions for how to redo them in a comment? (Note: Screenshots do not need to be perfect. Just make a rough cut.)
- Is attribution provided?

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jhodgdon’s picture

Version: » 8.x-0.x-dev
Issue summary: View changes

Summary update

batigolix’s picture

Assigned: Unassigned » batigolix
batigolix’s picture

Attaching some work in progress, while waiting for a spanish translation. Please do not review.

Question: do we show the UI in spanish when translating content?

jhodgdon’s picture

I don't know, do we? So after installing Spanish your UI may change to Spanish if your admin URLs have /es/ in them. If so, go back to the non-es version of the UI. Then if you go to node/1/translate, and click Add spanish translation, I do not know whether it tries to show you the UI in English or Spanish. Hopefully English.

batigolix’s picture

My steps:
- i open the default node view at node/76 (all in EN)
- click translate.
- node/76/translations opens (still all EN)
- click Add in the spanish row
- drupal sends me to /es/node/76/translations/add/en/es (all UI in ES)

I can change the url to /node/76/translations/add/en/es and get the UI in EN

This means, I think, that most users will see the UI in the target language. Maybe material for an issue?

Sidenote: I also see a breadcrumb issue: items are repeated. I ll attach screenshots. I have a contrib admin menu enabled, so that may be the cause. Anyhow: something to check ...

batigolix’s picture

Screenshot that shows the UI in Spanish

batigolix’s picture

Status: Active » Needs review
FileSize
1.72 KB

First attempt ready for review ;)

jhodgdon’s picture

Sorry, I've been sick and unmotivated this week. All of your writing is VERY MUCH APPRECIATED. I will review these soon, when I get my energy back.

Regarding the UI being in Spanish, ugh. I don't think the UI should switch your language just because you are adding a translation. Use case: you hire a translation firm to write translations into, say, Japanese, of some pages on your site, but they are entered by one of your site admins, who doesn't speak Japanese at all (they just know how to copy/paste translated text).

We should definitely file an issue. And maybe mention this in the topic, suggest that if you don't speak the language, you can take the "es" off the front of the URL to get back to an English UI.

jhodgdon’s picture

Oh, so I got partially motivated and reviewed the topic. I think it looks fine. I don't think we want to have screen shots in the English guide that are in Spanish, so let's add a step to fix the URL back to English and make the screen shots in English. Thanks!

jhodgdon’s picture

Status: Needs review » Needs work

Needs Work for #9, plus needs screenshots.

batigolix’s picture

Status: Needs work » Needs review
FileSize
1.91 KB
38.21 KB

Here a fixed version.

jhodgdon’s picture

Status: Needs review » Fixed

Looks great, thanks! Added to the guide, after some very minor Asciidoc formatting stuff.

  • jhodgdon committed abf17ac on 8.x-0.x authored by batigolix
    Issue #2541688 by batigolix: Write language-content-translate.txt
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.