Closed Bug 547228 Opened 15 years ago Closed 15 years ago

Translated strings in templates are truncated

Categories

(support.mozilla.org :: General, defect, P1)

x86
Linux
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: djst, Assigned: paulc)

Details

Attachments

(1 file)

https://support.mozilla.com/es/kb/Windows+start+page The paragraph above the search box is supposed to read: ¿Necesitas ayuda con Firefox? Empieza buscando en nuestro sitio aquí abajo, o navega por la lista de artículos de asistencia más populares. Si no encuentras la respuesta que necesitas, la comunidad de voluntarios está lista para ayudarte a encontrar una solución. But for some reason, all that's shown is: ¿Necesitas ayuda con Firefox? Empieza buscando en nuestro sitio aquí abajo, o navega por la lista de artículos de asistencia más populares. Si no encuentras la respuesta que necesitas, la comunidad de voluntarios está li I suspect this is a Tiki bug, so a workaround might be to just change the template so this string is split up into two, e.g.: {tr}Need help with Firefox? Start by searching our site below, or browse our list of popular support articles.{/tr} {tr}If you can't find the answer you need, our community volunteers are ready to help you find a solution.{/tr} This bug affects the German page as well: https://support.mozilla.com/de/kb/Windows+start+page
Laura, this will need a separate push before Tuesday Feb 23. :(
Assignee: nobody → paulc
Priority: -- → P1
Paul, we need to fix this and do a push today, Friday 19th, since the ballot website is up today.
This uses the workaround David described, splitting the string into two parts. I've made this change only apply to the windows 7 templates to avoid regressions. Other solutions I've tried were not so easy. Unfortunately, the database structure for tiki_language uses tinyblob, which is limited to 255 characters, so we would need to change a column type over 125,000 rows to fix it in the database. Another solution I can think of is to use content templates.
Attachment #427787 - Flags: review?(laura)
Comment on attachment 427787 [details] [diff] [review] v1, uses workaround described in comment 0 wfm
Attachment #427787 - Flags: review?(laura) → review+
Chris, can you verify that this works on stage and then, after this is pushed, update the affected locales again? Thanks!
Paul: thanks for the quick patch. I don't see a reason to fix this properly -- splitting up the template strings works. :)
Paulc: commit this to trunk and the 1.5.1 branch please :)
r62723/r62724 Over to Chris/QA for verification.
Status: NEW → RESOLVED
Closed: 15 years ago
OS: Linux → All
Hardware: x86 → All
Resolution: --- → FIXED
VERIFIED on <https://support-stage.mozilla.com/es/kb/Windows+start+page>. Text above search box is: ¿Necesitas ayuda con Firefox? Empieza buscando en nuestro sitio aquí abajo, o navega por la lista de artículos de asistencia más populares. Si no encuentras la respuesta que necesitas, la comunidad de voluntarios está lista para ayudarte a encontrar una solución.
Status: RESOLVED → VERIFIED
OS: All → Linux
Hardware: All → x86
Perfect, thanks for your quick work!
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: