|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
Intl String Resource FormatsAll,
I am in the process of upgrading an existing I18n system and plan on using the intl extension + ICU. I understand that support for externalization of resources will not be implemented for some time, so we are building a custom string localization system for the time being. I would like to make sure that we can replace this with intl's implementation later on, however, so I was wondering if anyone could tell me what resource formats (e.g., XLIFF or TMX) the intl extension might someday support. I would also be interested in knowing what type of ids/tokens might be used to reference localized strings. Will they be numeric or strings? Thank you for your time. -- Joel Sahleen |
|
|
Re: Intl String Resource FormatsHi!
> was wondering if anyone could tell me what resource formats (e.g., XLIFF or > TMX) the intl extension might someday support. I would also be interested in The formatand APIs would probably follow the ones ICU library uses, which are described here: http://userguide.icu-project.org/locale/resources http://userguide.icu-project.org/icudata -- Stanislav Malyshev, Zend Software Architect stas@... http://www.zend.com/ (408)253-8829 MSN: stas@... -- PHP Unicode & I18N Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php |
|
|
Re: Intl String Resource FormatsOn Thu, Mar 12, 2009 at 2:02 PM, jsahleen <joel@...> wrote:
> > was wondering if anyone could tell me what resource formats (e.g., XLIFF or > TMX) the intl extension might someday support. I would also be interested in > knowing what type of ids/tokens might be used to reference localized > strings. Will they be numeric or strings? > I don't know of any official plan, but the intl extension is a pretty thin wrapper around ICU, so I'd suggest looking at ICU's resource system pretty closely. Note that XLIFF and TMX don't come into the picture because those are data interchange formats for translation software, not string resource formats for programs. Regards, =Ed Batutis -- PHP Unicode & I18N Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php |
|
|
Re: Intl String Resource FormatsStas and Ed,
Since the intl implementation is still some way off, what would you recommend to use as a string resource format? Right now we are planning on just having files with large php arrays in them (one file per locale) and then including the appropriate file at system startup. Is there a better way? We can't use the php gettext extension, since it doesn't support the Linux gettext's context sensitivity. Any information would be appreciated. Thanks again. --Joel Sahleen On 3/12/09 12:13 PM, "Stanislav Malyshev" <stas@...> wrote: > Hi! > >> was wondering if anyone could tell me what resource formats (e.g., XLIFF or >> TMX) the intl extension might someday support. I would also be interested in > > The formatand APIs would probably follow the ones ICU library uses, > which are described here: > http://userguide.icu-project.org/locale/resources > http://userguide.icu-project.org/icudata -- PHP Unicode & I18N Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php |
|
|
Re: Intl String Resource FormatsHi!
> Since the intl implementation is still some way off, what would you > recommend to use as a string resource format? Right now we are planning on > just having files with large php arrays in them (one file per locale) and > then including the appropriate file at system startup. Is there a better > way? We can't use the php gettext extension, since it doesn't support the > Linux gettext's context sensitivity. You may want to look at Zend Framework implementation of locale data and translations here: http://framework.zend.com/manual/en/zend.locale.html http://framework.zend.com/manual/en/zend.translate.html Maybe it will fit your purposes. -- Stanislav Malyshev, Zend Software Architect stas@... http://www.zend.com/ (408)253-8829 MSN: stas@... -- PHP Unicode & I18N Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php |
| Free embeddable forum powered by Nabble | Forum Help |