Changes between Version 1 and Version 2 of Ticket #28636, comment 17
- Timestamp:
- Oct 3, 2017, 5:12:08 AM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #28636, comment 17
v1 v2 3 3 Your fallback determines what translation language to use when none is found. `add_fallback` on the other hand gives a fallback on string basis when no translation for the string is found in a translation file. I need both for my desired result. 4 4 5 So with your code a Spanish user e.g. get's Spanish language, but missing Spanish translations get displayed in German. The goal is tto have an English fallback in this case which `add_fallback` provides so that when your fallback does not come into play, the discovered user language get's an additional translation fallback.5 So with your code a Spanish user e.g. get's Spanish language, but missing Spanish translations get displayed in German. The goal is to have an English fallback in this case which `add_fallback` provides so that when your fallback does not come into play, the discovered user language get's an additional translation fallback.