3 ms·
Web2py solves the 2nd problem, by stripping everything after the last hash sign (#) if using the original string, but still using the entire string to look up t
by beagle3 3y ago
Web2py solves the 2nd problem, by stripping everything after the last hash sign (#) if using the original string, but still using the entire string to look up translations. It’s a joy to use.
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.
- avgcorrection 3y ago> 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
- beagle3 3y agoYes. If the string contains a #, you must append another # at the end to “escape” it.