U4-7539 - TextService.Localize should return en-US if key is not available in current language

Created by Sebastiaan Janssen 15 Dec 2015, 12:59:24 Updated by Sebastiaan Janssen 05 Jan 2016, 10:13:12

We will always keep en-GB and en-US (the default frontend language) updated with new keys for localization. Currently the only way to prevent it from showing [someKey] is to copy that key into the German translation for example. Since we don't know German, we can't translate it.

Would be much better if it would just fall back to en-US so that there's always at least some translation.

Marked as not backwards compatible as it changes the expected outcome: no longer [key] but an English text. This can be considered to be a minor breaking change.

Comments

Sebastiaan Janssen 15 Dec 2015, 13:00:00

Fixed in: https://github.com/umbraco/Umbraco-CMS/commit/d069da8a4ff27538cf61059bed96bbbbdd6d40ca https://github.com/umbraco/Umbraco-CMS/commit/eacc7f7fb3c987a5bcb15849988abeece56a6fe8


Priority: Normal

Type: Bug

State: Fixed

Assignee:

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions:

Due in version: 7.4.0, 7.3.5

Sprint:

Story Points:

Cycle: