kaisermann / svelte-i18n

Internationalization library for Svelte
MIT License
1.24k stars 79 forks source link

Styling translations #210

Open jamess-ais opened 1 year ago

jamess-ais commented 1 year ago

Is your feature request related to a problem? Please describe. I'm having an issue relating to styling text translations

Describe the solution you'd like I'd love a way to style a translation instead of breaking it into two separate translations

Describe alternatives you've considered I've tried using html around the input but it just appears as text. I'm currently using the work around of just having two translations

How important is this feature to you? The feature, long term, will likely define whether the organization I'm a part of decides to develop an internal solution or not, so yes!

ZerdoX-x commented 1 year ago

What exact problem do you encounter? Can you provide some code examples demonstrating the issue?

jamess-ais commented 1 year ago

To avoid something like the following; image

Only the center is desired to be styled

ZerdoX-x commented 1 year ago

related: #118