Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#2915 closed enhancement (fixed)

[PATCH] Add hotloading for .po files

Reported by: leper Owned by: leper
Priority: Should Have Milestone: Alpha 18
Component: Core engine Keywords: patch
Cc: Patch:

Description

Currently we do not hotload po files, so when translating the game you need to restart it to test if a new translation works (eg fits in the text field).

Attachments (1)

l10n_hotload.diff (3.9 KB ) - added by leper 10 years ago.
Includes forced GUI reloading to update GUI pages

Download all attachments as: .zip

Change History (5)

comment:1 by leper, 10 years ago

Keywords: patch review added
Summary: Add hotloading for .po files[PATCH] Add hotloading for .po files

Hotloading works with the attached patch, but one needs to get the GUI page with the translations to reload to see the change.

by leper, 10 years ago

Attachment: l10n_hotload.diff added

Includes forced GUI reloading to update GUI pages

comment:2 by leper, 10 years ago

Updated the patch to reload all GUI pages if a po file changes.

comment:3 by leper, 10 years ago

Resolution: fixed
Status: newclosed

In 15947:

Add hotloading for translation files. Fixes #2915.

comment:4 by leper, 10 years ago

Keywords: review removed
Note: See TracTickets for help on using tickets.