Project

General

Profile

Actions

Feature #10617

open

Extend WMessageResourceBundle::use to allow for directories

Added by Roel Standaert over 2 years ago. Updated over 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
Start date:
07/08/2022
Due date:
% Done:

0%

Estimated time:

Description

WMessageResourceBundle::use may work well for simple translatable strings, but it would be nice for templates if we could put each XHTML fragment in its own file, like:

templates/
├── footer.xml
└── header.xml

Wt::WString::tr("footer") would then yield the contents of footer.xml.

Optionally, we could also treat files with different extensions as plain text instead of XHTML.

Actions #1

Updated by Roel Standaert over 2 years ago

  • Tracker changed from Bug to Feature
Actions

Also available in: Atom PDF