Re:Fluent – A localization system for natural-sounding trans...
by avgcorrection on Sunday June 11, 2023 @12:13PM
(#36282678)
> Web2py solves the 2nd problem, by stripping everything after the last hash sign (#) if using the original string,
Sounds good.
Since it is the last one then it will also handle something like this:
Fetch grocery item #{number} # groceries
Technically, it also solves the first problem - because there is also a “no translation” translation, and you can make the changes there instead of in the source code - no worse than Fluent in terms of work - but a lot more confusing down the line, so I wouldn’t refer to it as a solution.