Hi Joshua, On Thu, Feb 18, 2010 at 12:04 AM, Rieken, Joshua <[email protected]>wrote:
> I am using the LiveTable macro to build a table similar to the one in > XWiki.Tableview. I have custom columns and I want to display a column's > "pretty name" as its header, but I can't find a way to pass a column "pretty > name" in the column properties or otherwise set the column header. The only > way I've found to set this column header pretty name is to pass a > translationPrefix option in the table options. > > Is there any way to set the column headers to a "pretty name" without > changing / creating translation keys in the core? > Yes. - Create a page named something like "Space.LivetableTranslations" - In this page, add your keys in the following way: prefix_columntitle=Column title nice translation - Go to the administration, in the Programming section, and add "Space.LivetableTranslations" in the "internationalization document bundles" field & save You're done :-) Guillaume > Joshua Rieken > System Software Developer > > Reynolds and Reynolds > 6700 Hollister | Houston, Texas 77040 > office 713.718.1800 ext. 72459 | mobile 806.584.3004 > [email protected] > > MAKING BUSINESS BETTER. > > NOTE: The information contained in this e-mail is personal and confidential > and may be protected by the attorney-client privilege and/or the work > product doctrine. It is for the sole use of the intended recipient. Any > review, reliance, or distribution by others or forwarding without express > permission is strictly prohibited. If you are not the intended recipient, > please contact the sender and delete all copies. > > > > _______________________________________________ > users mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/users > -- Guillaume Lerouge Product Manager - XWiki SAS Skype: wikibc Twitter: glerouge http://guillaumelerouge.com/ _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
