haiku/headers/private/locale
Adrien Destugues 41853a8bbf locale kit: allow creating a catalog without entry_ref
The catalogs are loaded from separate files, so there is no need to have
an app entry_ref to load them, just a MIME type is enough.

The implementation is a bit simplified: only the default catalog format
is allowed (unlike when loading from entry_ref, where extra catalog
formats can be added in add-ons).

Unrelated cleanup: remove unused code to load catalogs from attributes
of an application. We considered this when designing the locale kit, but
using resources or separate files works better.

Use this in Cortex, where some strings are in a static library, so they
don't have an associated executable or library or add-on to identify
them. The code in Cortex is not complete localization, several parts
should use StringForRate, BStringFormat, etc.

Change-Id: I09be22b1f50891250c4497c51e1db8dcee279140
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3172
Reviewed-by: Kacper Kasper <kacperkasper@gmail.com>
2020-09-01 18:14:57 +00:00
..
DefaultCatalog.h locale kit: allow creating a catalog without entry_ref 2020-09-01 18:14:57 +00:00
EditableCatalog.h Cleanup BCatalogAddOn. 2012-04-16 00:04:41 +02:00
FormattingConventionsPrivate.h * update (not-so-)optional package ICU to 4.8.1, which contains interesting stuff 2011-08-18 22:13:06 +00:00
HashMapCatalog.h Cleanup BCatalogAddOn. 2012-04-16 00:04:41 +02:00
ICUWrapper.h Prepare for ICU update 2020-08-02 11:58:14 +02:00
LanguagePrivate.h * update (not-so-)optional package ICU to 4.8.1, which contains interesting stuff 2011-08-18 22:13:06 +00:00
LocaleRosterData.h Make BDateFormat inherit from BFormat again 2014-10-01 16:29:12 +02:00
MutableLocaleRoster.h locale kit: allow creating a catalog without entry_ref 2020-09-01 18:14:57 +00:00
PlainTextCatalog.h Fix instanciate_catalog prototype 2015-01-17 17:02:40 +01:00
SystemCatalog.h Fix #8452 (app's crashing for non-existent system catalog) 2012-04-14 17:58:58 +02:00
TimeZonePrivate.h * update (not-so-)optional package ICU to 4.8.1, which contains interesting stuff 2011-08-18 22:13:06 +00:00