Page 1 of 1

Duplicate names and descriptions when creating new style

Posted: Wed Jan 28, 2026 2:14 pm
by maurobio
In FlatPress 1.4.1, by duplicating a style of the Leggero theme (e.g. flatmaas-rev), the admin panel continues to display the same name and description, regardless of changes in style.conf.php or the existence of theme.conf.php. It seems that the style metadata is hardcoded or not re-evaluated.

Could anyone out there give me hand with this?

Thanks in advance for any assistance you can provide!

Re: Duplicate names and descriptions when creating new style

Posted: Wed Jan 28, 2026 7:43 pm
by fraenkiman
Hello maurobio,

Since FlatPress 1.4, theme and style descriptions can be localized.
So take a look at the directory fp-interface/themes/leggero/flatmaas-rev/lang/style.<your FlatPress language setting>.php for styles and the directory fp-interface/themes/leggero/lang/theme.<your FlatPress language setting>.php.
Screenshot 2026-01-28 203251.png
Screenshot 2026-01-28 203251.png (90.5 KiB) Viewed 562 times
Best regards,
Frank

Re: Duplicate names and descriptions when creating new style

Posted: Thu Jan 29, 2026 1:26 pm
by maurobio
Hello, fraenkiman!

Thank you very much for your helpful answer (complete with an informative screenshot)! I will try modifying the language file (in my case, the Brazilian Portuguese one).

With warmest regards,