yes. To check if everythink is working i have set some skinning in protonSkin.css and it is working. Just not updating text in table.
2009/4/1 Matthias Wessendorf <[email protected]> > are you using your skin ? > > (see <skin-family> in trinidad-config.xml) > > -Matthias > > 2009/4/1 Adme Admirolas <[email protected]>: > > I can not make it working. My Bundle class - > > > > import java.util.ListResourceBundle; > > > > public class SkinBundle extends ListResourceBundle { > > > > @Override > > public Object[][] getContents() { > > return _CONTENTS; > > } > > > > static private final Object[][] _CONTENTS = > > { > > {"af_table.SELECT_RANGE_PREVIOUS", "Buvęs {0}"}, > > {"af_table.SELECT_RANGE_NEXT", "Kitas {0}"}, > > {"af_table.SELECT_RANGE_DISABLED_NEXT", "Kitas"}, > > {"af_table.SELECT_RANGE_DISABLED_PREVIOUS", "Buvęs"}, > > {"af_table.SELECT_RANGE_PREVIOUS_TIP", "Pasirinkite kad rodyti buvusią > > aibę"}, > > {"af_table.SELECT_RANGE_NEXT_TIP", "Pasirinkite, kad rodyti kitą > aibę"}, > > {"af_table.SELECT_RANGE_PREV_DISABLED_TIP", "Funkcionalumas \"Buvęs\" > > panaikintas"}, > > {"af_table.SELECT_RANGE_NEXT_DISABLED_TIP", "Funkcionalumas \"Kitas\" > > panaikintas"}, > > {"af_table.SELECT_RANGE_CHOICE_TIP", "Pasirinkite įrašų aibę"}, > > {"af_table.SELECT_RANGE_PREVIOUS_OPTION", "Bubęs..."}, > > {"af_table.SELECT_RANGE_MORE_OPTION", "Kitas..."}, > > {"af_table.SELECT_RANGE_SHOW_ALL", "Rodyti visus {0}"}, > > {"af_table.SELECT_RANGE_CHOICE_FORMAT_TOTAL", "{0}-{1} iš {2}"}, > > {"af_table.SELECT_RANGE_CHOICE_FORMAT_NO_TOTAL", "{0}-{1}"} > > }; > > } > > > > my trinidad-skins.xml - > > > > <?xml version="1.0" encoding="ISO-8859-1"?> > > <skins xmlns="http://myfaces.apache.org/trinidad/skin"> > > <skin> > > <id> > > proton.desktop > > </id> > > <family> > > proton > > </family> > > <render-kit-id> > > org.apache.myfaces.trinidad.desktop > > </render-kit-id> > > <style-sheet-name> > > protonSkin.css > > </style-sheet-name> > > <bundle-name> > > com.aa.proton.web.skin.resources.SkinBundle > > </bundle-name> > > </skin> > > </skins> > > > > what is wrong? I have tried to debug it. Framework calls > > SkinBundle.getContents(), but still do not change the labels of > <tr:table> > > > > > > 2009/4/1 Matthias Wessendorf <[email protected]> > >> > >> On Wed, Apr 1, 2009 at 8:41 AM, Adme Admirolas <[email protected]> > >> wrote: > >> > You mean, that it is translated into lithuanian? I do not think so :) > . > >> > But > >> > >> Yes, I guess not > >> > >> > i think i found the solution in > >> > http://myfaces.apache.org/trinidad/devguide/skinning.html in part > wich > >> > is > >> > called "Skinning Text". Am i right? > >> > >> Yes, here is a thread that explains it deeper: > >> http://www.mail-archive.com/[email protected]/msg50055.html > >> > >> and all the "keys" are here: > >> > >> > https://svn.apache.org/repos/asf/myfaces/trinidad/branches/1.2.10.1-branch/trinidad-impl/src/main/xrts/org/apache/myfaces/trinidadinternal/renderkit/core/resource/CoreBundle.xrts > >> > >> Otherwise, feel free to provide a bundle for your locale, all other > >> bundles are located here: > >> > >> > https://svn.apache.org/repos/asf/myfaces/trinidad/branches/1.2.10.1-branch/trinidad-impl/src/main/xrts/org/apache/myfaces/trinidadinternal/renderkit/core/resource/ > >> > >> -Matthias > >> > >> > > >> > 2009/3/31 Matthias Wessendorf <[email protected]> > >> >> > >> >> What do you mean ? > >> >> > >> >> Are you talking about the links, like "Next 10" ? > >> >> > >> >> http://www.irian.at/trinidad-demo/faces/components/table.jspx > >> >> > >> >> These are already translated. Or do you want replace the existing > >> >> text(s) > >> >> ? > >> >> > >> >> -M > >> >> > >> >> On Tue, Mar 31, 2009 at 8:50 PM, Adme Admirolas <[email protected] > > > >> >> wrote: > >> >> > I have to internationalize <tr:table> range navigation labels. How > >> >> > can > >> >> > it be > >> >> > done? > >> >> > > >> >> > >> >> > >> >> > >> >> -- > >> >> Matthias Wessendorf > >> >> > >> >> blog: http://matthiaswessendorf.wordpress.com/ > >> >> sessions: http://www.slideshare.net/mwessendorf > >> >> twitter: http://twitter.com/mwessendorf > >> > > >> > > >> > >> > >> > >> -- > >> Matthias Wessendorf > >> > >> blog: http://matthiaswessendorf.wordpress.com/ > >> sessions: http://www.slideshare.net/mwessendorf > >> twitter: http://twitter.com/mwessendorf > > > > > > > > -- > Matthias Wessendorf > > blog: http://matthiaswessendorf.wordpress.com/ > sessions: http://www.slideshare.net/mwessendorf > twitter: http://twitter.com/mwessendorf >

