Luis Majano Forums Notification: Post to Internationalization

Title: RE: Internationalization
Thread: Internationalization
Forum: Enhancements
Conference: ColdBox
User: xionic

Hello,

I am playing with version 2.0 and of course i am very happy to see
i18n plugin working.

What i am missing is a second parameter to a getResource
function to replace a strings in the resource.

For example :

resource string
: aaaa%1 bbbbb%2 ccccc%3

And now possibility to use a
#getResource("resourcestring","A,B,C")#

And would like to
expect
aaaaA bbbbbB cccccC

I know that i can write my plugin that will do it
etc etc or just extend the i18 plugin, but :
1. This would require probably
longer invocations in code
2. This would require digging in framwerok, which i
want to avoid.

Or maybe there already exists such option in coldbox and i cant
see it ?

Regards
Bart "Xionic" Pióro

http://www.luismajano.com/forums/index.cfm?event=ehMessages.dspMessages&threadid=453B4E6C-CBFB-0E56-6A64421090DC350E