On Thursday 04 September 2014 09:46:07 Thomas Friedrichsmeier wrote:
> Here's a first idea for the process:
> - hide the localized pluginmaps in a subdirectory
> - these files would follow some specific naming convention. Easiest would be
> to have the lanuage code either at the start or at the end of the filename.
> - English version (or default language version) will not include the
> language code in the filename.
> - add one top-level .pluginmap, which includes the proper localized version
> as follows:
>   <require localized="true" file="po/xyz.pluginmap"/>
> - RKWard looks for files matching that name, and loads the one matching the
> current language, if available, or the default one.
> - Earlier versions of RKWard will simply overlook the "localized"-attribute
> and thus load the default language .pluginmap, as before.

Ok, this is now an undocumented (and untested) feature in the development 
version. The localized versions should be called e.g.:

de_DE.mystuff.pluginmap
or
de.mystuff.pluginmap

(The algorithm is to prefer a language_COUNTRY match, if available, next a 
"plain" language match, next language_ANYTHING, next the default version of 
the .pluginmap).

Regards
Thomas

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
RKWard-devel mailing list
RKWard-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rkward-devel

Reply via email to