On Thu, Oct 20, 2011 at 9:36 PM, John Layt <[email protected]> wrote:
> I can think of a few options:
> 1) Offload just the translation data into translation files and use tr()
> 2) Offload all the data into binary files keeping the current data structure
> 3) Offload all the data into a single binary file (use ICU .dat format?)
> 4) Offload all the data into one binary file per locale
>
> Option 1 may not work due to dependencies.  Option 2 is close to the current
> implementation, but puts choosing locales at the file generation stage, as
> does option 3.  Option 4 seems the most flexible but will probably take a lot
> more disk space than 2 or 3 due to data duplication.  Any option probably
> means changing from static const data to QSharedData.
>
> Any comments or suggestions?

One that springs to mind is compiling the data structures for each
locale into a .so which is dlopened as needed, this could use the
existing plugin infrastructure and allow you to retain the existing
internal data structures.

Rich.
_______________________________________________
Qt5-feedback mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback

Reply via email to