rubenv/angular-gettext

Translate strings with <strong> tags on initial load of page

OmarCortezC opened this issue · 0 comments

Hi @rubenv , there is a problem with the translations of strings that contains "strong" tag in it.

The problem is that when the page load at first time the text is in the correct language but the text between the "strong" tags doesn't work, it's only after i do the translate in the page that the text shows correctly the strong style. The translation works great even when i set empty in the initial language ( gettextCatalog.setCurrentLanguage(''); ) but the text do not shows with strong style at first time only, after i click on my "change language" button that the text shows the correct style.