Hi!
Is there a way to specify the language you want when calling ws.php? Specifically the pwg.tags.getImages method.
I've tried using Accept-Language Header and lang and language parameter but i will always get the multilang parts stripped out and only get the "default" comment.
"images": [
{
"rank": 0,
"is_favorite": false,
"id": 293,
"width": 1000,
"height": 614,
"hit": 0,
"file": "IEI_Oraefajokull_1362CE.png",
"name": "IEI Oraefajokull 1362CE",
"comment": "Isopach maps of the largest known eruption at Öræfajökull in 1362 CE. It erupted 10km3 of silicic tephra (eruption column height ~35 km) and caused a total devastation to the populated areas in its vicinity",
...If i call the pwg.images.getInfo method I do get raw_comment field and and I guess I could extract the language text from that, but there is no raw_comment in pwg.tags.getImages.
"name_raw": "TD Katla 10200 BCE-400 CE",
"comment_raw": "Direction of thickness axes of 7 silicic Katla tephra layers. Layer F is from a major pre-Holocene silicic eruption that formed the Vedde ash 10,200 BCE (see Map layers for an interactive map version)[lang=is]Stefna þykktarása 7 kísilríkra gjóskulaga frá Kötlu. Lag F er úr stóru, kísilríku eldgosi sem varð fyrir nútíma og myndaði Vedde gjóskulagið fyrir um 12.200 árum síðan (sjá kortaþekjur fyrir gagnvirk kort).[/lang]",Thanks in advance
Environment
Piwigo 16.2.0 Check for upgrade
Installed on 24 February 2026, 2 weeks ago
Operating system: Linux
PHP: 8.1.2-1ubuntu2.23 (Show info) [2026-03-10 10:35:01]
MySQL: 8.0.45-0ubuntu0.22.04.1 [2026-03-10 10:35:01]
Graphics Library: GD 2.3.0
Cache size N/A never calculated Refresh
Activated plugin list
Extended Description
Language Switch
Offline