Changes between Version 1 and Version 2 of Ticket #28636, comment 17


Ignore:
Timestamp:
Oct 3, 2017, 5:12:08 AM (7 years ago)
Author:
Denis Anuschewski

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28636, comment 17

    v1 v2  
    33Your 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.
    44
    5 So with your code a Spanish user e.g. get's Spanish language, but missing Spanish translations get displayed in German. The goal ist 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.
     5So 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.
Back to Top