Skip to content

Percentage symbol before the number #2846

Closed Answered by shuuji3
xabirequejo asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @xabirequejo This is because %{...} is treated as a special syntax by the localization library vue-i18n (ref. Formatting | Vue I18n - https://kazupon.github.io/vue-i18n/guide/formatting.html#support-ruby-on-rails-i18n-format). Please try escaping the character with {'%'}:

      "status": "Translation status: {0}/{1} ({'%'}{2})",

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@xabirequejo
Comment options

@shuuji3
Comment options

Answer selected by shuuji3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants