Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide
translations



Rockbox mail archive

Subject: plugins and localization

plugins and localization

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 25 Aug 2003 13:42:20 +0200 (CEST)

Hi!

Linus, Kjell and me sat down and had a chat about language support for the
plugins, and after having approached the problem in many different ways we
came to the conclusion that a single language file for each plugin is the
prefered way.

tetris.rock will then have a tetris.[fill in extension] for the plugin
localized strings. One single language file, for all supported languages for
this particular plugin. It maintains the separate and individual spirit of
both the plugins as well as the language files. Plugins can be added with our
without the language files, and plugin-languages can be updates separately
from the actual plugin code.

The plugin loader will then take care of loading the language file and set up
things so that the str() macro will use fine for plugins.

Comments?

-- 
 Daniel Stenberg -- http://rockbox.haxx.se/ -- http://daniel.haxx.se/
Received on 2003-08-25

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy