Duplicate names and descriptions when creating new style

Ask questions about FlatPress themes, present your themes, request new themes.
Post Reply
maurobio
Posts: 2
Joined: Wed Jan 28, 2026 2:06 pm

Duplicate names and descriptions when creating new style

Post by maurobio » Wed Jan 28, 2026 2:14 pm

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!

User avatar
fraenkiman
FlatPress Coder
Posts: 478
Joined: Thu Feb 03, 2022 7:25 pm
Location: Berlin, Germany
Contact:

Re: Duplicate names and descriptions when creating new style

Post by fraenkiman » Wed Jan 28, 2026 7:43 pm

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 167 times
Best regards,
Frank
:pencil: You are strong in PHP and Java Script? :point_right: Then help us to improve FlatPress. :point_left:

:exploding_head: Looking for ideas, templates, examples and answers to frequently asked questions?
:bulb: You'll find it here.

My :de: FlatPress-Blog: https://frank-web.dedyn.io

maurobio
Posts: 2
Joined: Wed Jan 28, 2026 2:06 pm

Re: Duplicate names and descriptions when creating new style

Post by maurobio » Thu Jan 29, 2026 1:26 pm

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,

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests