What you described below is very similar to what I was imagining – a suffix of some type to establish the connection between the tooltip and the label with which it is associated. I hadn’t thought about the help angle, but I like that too!
Posting this response to the reflector, so we can discuss in the IPP WG.
Smith
From: Michael Sweet <msweet at apple.com> on behalf of Michael Sweet <msweet at apple.com>
Date: Wednesday, October 3, 2018 at 9:01 AM
To: "Kennedy, Smith (Wireless & Standards Architect)" <smith.kennedy at hp.com>
Subject: Re: Extending .strings files / IPP convention to support "tool tips"?
Smith,
It's an interesting idea, although I think it we will still need to limit the tooltip to plain Unicode text (vs. some sort of rich text/markup). A simple solution would be to define a convention like adding a "._tooltip" to the attribute name/attribute.value string, e.g.:
"foo" = "Foo";
"foo._tooltip" = "This is the tooltip for Foo.";
"foo.value1" = "Primary Foo";
"foo.value1._tooltip" = "This is the tooltip for Primary Foo.";
"foo.value2" = "Secondary Foo";
"foo.value2._tooltip" = "This is the tooltip for Secondary Foo.";
The advantage of using "_tooltip" as the identifier is that attribute and keyword values cannot start with the underscore. Conceptually we could include multiple such extensions ("_helpurl", etc.) to provide some of the same features we have in PPDs on macOS.
Initially we can just propose and document it in a white paper, but ultimately I think we'd want to make this part of a JPS3 errata update.
On Oct 3, 2018, at 12:31 AM, Kennedy, Smith (Wireless & Standards Architect) <smith.kennedy at hp.com <mailto:smith.kennedy at hp.com>> wrote:
Hi Mike,
We have interest in finding a way to get support for adding localized tool tips to the .strings files, to go along with the localized label strings. Any thoughts on this? I don't think this is covered by 5100.13. The convention for associating a tool tip with a particular label string will need some additional work.
WDYT?
Smith
/**
Smith Kennedy
Wireless & Standards Architect - IPG-PPS
Standards - IEEE ISTO PWG / Bluetooth SIG / Wi-Fi Alliance / NFC Forum / USB-IF
Chair, IEEE ISTO Printer Working Group
HP Inc.
*/
_________________________________________________________
Michael Sweet, Senior Printing System Engineer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pwg.org/pipermail/ipp/attachments/20181023/efc50bb7/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4261 bytes
Desc: not available
URL: <http://www.pwg.org/pipermail/ipp/attachments/20181023/efc50bb7/attachment.p7s>