Opened 8 years ago

Last modified 3 years ago

#4055 new enhancement

[PATCH] Make l10n for manual more translation-proof

Reported by: sanderd17 Owned by:
Priority: Should Have Milestone: Work In Progress
Component: Internationalization & Localization Keywords: patch, rfc
Cc: Patch:

Description (last modified by Stan)

The current manual translation requires the translators to also translate font tags, and makes them watch out for correct code formatting and escaping of special characters. This isn't something translators should worry about.

The patch below moves the text-generating facilities from the credits to a global function, and uses it for the manual, user-reports, ToS and ToU.

By structuring the text, it avoids having font tags in the text, and makes everything automatically escapable.

Attachments (1)

l10nManual.diff (41.4 KB ) - added by sanderd17 8 years ago.

Download all attachments as: .zip

Change History (9)

by sanderd17, 8 years ago

Attachment: l10nManual.diff added

comment:1 by elexis, 8 years ago

#2604 will need hotkey descriptions as well, so we should try to avoid duplicate translation work

comment:2 by sanderd17, 8 years ago

Yes, this patch has some preparation for settable hotkeys, as it separates the description string from the actual hotkey string. Though the hotkeys are still hard-coded, it should be easier to work on this to get them from the settings.

The most annoying thing will be getting hotkey ranges (like 0-9 to select a group).

comment:3 by Itms, 8 years ago

Keywords: rfc added; review removed

Move tickets from the review queue to the rfc one.

comment:4 by elexis, 8 years ago

Milestone: Alpha 21Alpha 22

Feature freeze in 2 days.

comment:5 by elexis, 7 years ago

Milestone: Alpha 22Work In Progress

Moving to the new WIP milestone.

comment:6 by Vladislav Belov, 7 years ago

Looks good, also replace %APPDATA%\0ad\config\user.cfg to %APPDATA%\\0ad\\config\\user.cfg or %APPDATA%/0ad/config/user.cfg. Because in game it looks like one string: %APPDATA%0adconfiguser.cfg. Shouldn't if (object.newline) result += "\n"; be at the end?

Last edited 7 years ago by Vladislav Belov (previous) (diff)

comment:7 by Imarok, 5 years ago

Component: UI & SimulationMisc. UI

Move tickets to Misc. UI as "UI & Simulation" got some sub components.

comment:8 by Stan, 3 years ago

Component: UI – MiscellaneousInternationalization & Localization
Description: modified (diff)
Note: See TracTickets for help on using tickets.