-
Notifications
You must be signed in to change notification settings - Fork 92
String translation in templates #30
Comments
In my opinion, it is not for the theme to solve. I would leave them as is, because multi-lingual is not until phase 4. |
Multilingual will solve the problem to translate and save the content of websites in different languages. Themes and Templates should be ready for localization and translation. |
And they are, because you can add your own text. |
So we can't translate it globally per language, and each user has to translate it themselves and override the template, if I understand it correctly. |
Correct. If they want it on a different language, they can simply edit the templates. It's not like in classic themes where these were not user-editable... So IMO it's not really a blocker 👍 |
While the user could go and edit those strings, they won't know that they need to. In that past, those have always been translated automatically. And for example, one of these strings is on the 404 page — it's quite likely a user won't know they need to look there and manually translate that string. |
But it is not for the theme to solve, because it is not specific to this theme. It is not something that can be solved before the feature freeze unless there is a decision from the 5.9 leads that it will be prioritized, and the contributors focus on it, because it has not had movement since December 2020. |
Since the pattern block was merged, this is unblocked. We should replace those strings with patterns. For the 404, it may make sense to make the pattern include all of this: What do you think @kjellr? |
Yeah, might as well. Let's put it at the very bottom of the "General" patterns list until we can hide it. |
There are currently a few strings in the block templates that we will need to figure out what to do with from a translation / i18n perspective. Let's use this issue to discuss and track what to do there:
Related Gutenberg issues / explorations:
The text was updated successfully, but these errors were encountered: