Re: [Printing-architecture] PAPPL 1.2.0

Michael Sweet <[email protected]>
Newsgroups dev.linux.lists.printing-architecture
Message-ID <[email protected]>
Till,

You need to create a .strings file of the form:

    "optionname" = "localized text";
    "optionname.choicename" = "localized text";

Add these resources in your system callback with papplSystemAddStringsData/File.

More information is available in the manual at:

    https://www.msweet.org/pappl/pappl.html#localization


> On May 15, 2022, at 9:44 AM, Till Kamppeter <[email protected]> wrote:
> 
> On 15/05/2022 14:35, Michael Sweet via Printing-architecture wrote:
>> All,
>> PAPPL v1.2.0 is now available for download from:
>> 	https://github.com/michaelrsweet/pappl/releases/tag/v1.2.0
>> PAPPL v1.2 adds full localization, support for additional IPP features, and some other improvements.  Changes in 1.2.0 include:
> 
> Is there any documentation or example how to get human-readable strings for the vendor options/attributes on the "Printer Defaults" web interface page?
> 
> For pappl-retrofit I would like to show the same human-readable strings as one sees them in the PPD files.
> 
>   Till
> 

________________________
Michael Sweet
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEkIbDzcZsP1Y8+PQFvmfHXsgfMkQFAmKBBsYACgkQvmfHXsgf
MkR/NBAAmjlepvHBIxJaKiHt28BQ6wBiic87+elbrRNOoes9KL3kVRWKBofO7kwR
aWtkNWuNDU2CHSAZEufYn8TXA4yy5EiUYFB3fV2FcP8sEmSc8mj/YoRiD/DJ3VFA
uvIOi1BMjGNU4YbRavEQAioPT/Ng4NhrG/CTfCN1p14g4tlGgW2G98pMzwU7LtKl
ljHUUaFfsPWVDMldz5bYmSMxvGQwQVYvJ67x7VKVrN9yDyenss9/S0P/IvdB0zPI
evNU4+psSD9H+67Ya/QsBstRtgtb9v10F77FA5Irp+HI1kGGZVOPw1dCI9cdnlJJ
fo1kwayCMG6sSC7ZksMpWLeOZF88VgdfxlOinCS9o8kpT6JxpLL42t/eKKMZ+I0c
jreiiaa4Zc2gdVsBh4mWHWg2z0wMnfccWDNyYq/oGBZqWmVvGFKP5/2SFAoQLajl
8wkrzFVSaEGFYVW9whLkgBnwusSVGarcX+OVzpy1dYQBV+eSc25ShImZ1vH68Ghg
wT/fOXbylsjB5cm8WcrMIW/zAuqX/wEMbrqIAK9WrIkYknlAUuMDux77BPi7Mm27
vEXGgyY2CUB0XYuL7fn5FlrWkh4YyZu4wGsNkd99bsq0LcwKNt0hum1AdiT5z1Ig
N4MBu0M7LQZSufkHERfa+bErToA+EDrwnDF4XOmHO9TJzhCCTec=
=VWnm
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.