Rails : How to put I18N into SVG file
Rails : How to put I18N into SVG file I want to internationalize several SVG files but I have no idea how I could do that. Here's my SVG file : <text font-family="OpenSans-Semibold, Open Sans" font-size="22" font-weight="500" fill="#FFFFFF"> <tspan x="39" y="157">Accessoires</tspan> </text> Should I do something like : <text font-family="OpenSans-Semibold, Open Sans" font-size="22" font-weight="500" fill="#FFFFFF"> <tspan x="39" y="157"><%= t('accessoires') %></tspan> </text> Or is there an other way to do it ? Thanks for your answers. @RobertLongson what kind of joke is that ? – Enner31 Jul 2 at 13:07 1 Answer ...