Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translation is not possible in settings fields #272

Open
ukoo-jordan opened this issue Oct 18, 2024 · 2 comments
Open

Translation is not possible in settings fields #272

ukoo-jordan opened this issue Oct 18, 2024 · 2 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@ukoo-jordan
Copy link

Hi,

I want to make editable a short text in my theme. I tried to add fields in hookActionRegisterThemeSettings, but it is impossible to translate it like blocks.

I want to go with the theme settings, because the Prettyblocks areas are too permissive and the position of my text does not allow the use of other blocks (restricted space, little possibility of customization)

The idea would be: either to allow the translation of fields when they are created in the theme settings, or to restrict an area to certain types of blocks, or both (which would be great)

Thank you for your feedback Guillaume!

@PrestaSafe
Copy link
Owner

Les themessettings ne sont pas prévus comme cela, il s'agit plus de champs qui peremettent de faire des configurations. Mais en effet, si on prends un texte pour un footer, il serait bon d'avoir la possibilité de les traduires. Cela demande beaucoup de developpement, donc je pense pas l'implémenter dans l'immédiat.

@PrestaSafe PrestaSafe added help wanted Extra attention is needed good first issue Good for newcomers labels Oct 22, 2024
@ukoo-jordan
Copy link
Author

C'est noté, merci pour le retour Guillaume ! Effectivement, je pensais à un texte footer ou header, le but serait d'éviter d'utiliser X modules en parallèle, alors que Prettyblocks est plutôt pratique pour ce genre de chose. L'avantage que j'y vois également, c'est qu'en tant qu'intégrateur, la sollicitation d'un développeur n'est plus nécessaire pour ces petits éléments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants