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?
Comment | File | Size | Author |
---|---|---|---|
#11 | language-content-translate-add.png | 38.21 KB | batigolix |
#11 | language-content-translate.txt | 1.91 KB | batigolix |
#7 | language-content-translate.txt | 1.72 KB | batigolix |
#6 | Screenshot 2016-03-02 13.10.58.png | 265.39 KB | batigolix |
#5 | Screenshot 2016-03-02 13.07.19.png | 253.12 KB | batigolix |
Comments
Comment #1
jhodgdonSummary update
Comment #2
batigolixComment #3
batigolixAttaching 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?
Comment #4
jhodgdonI 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.
Comment #5
batigolixMy 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 ...
Comment #6
batigolixScreenshot that shows the UI in Spanish
Comment #7
batigolixFirst attempt ready for review ;)
Comment #8
jhodgdonSorry, 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.
Comment #9
jhodgdonOh, 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!
Comment #10
jhodgdonNeeds Work for #9, plus needs screenshots.
Comment #11
batigolixHere a fixed version.
Comment #12
jhodgdonLooks great, thanks! Added to the guide, after some very minor Asciidoc formatting stuff.