Skip to content
This repository has been archived by the owner on Nov 18, 2024. It is now read-only.

What is the correct way to translate ordinal numbers? #307

Answered by pkqinys
mrtnzlml asked this question in Q&A
Discussion options

You must be logged in to vote

Unfortunately, akaik there isn't an easy way to write numbers in ordinal form. One workaround is to use fbt:enum and write all ordinals explicitly as enum values.

I.e.

  FIRST: 1st car
  SECOND: 2nd car
  THIRD: 3rd car
  FOURTH: 4th car
  ...
  ELEVENTH: 11th car
  ...
  TWENTY_FIRST: 21st car
  TWENTY_SECOND: 22nd car
  TWENTY_THIRD: 23rd car

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mrtnzlml
Comment options

Answer selected by pkqinys
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