Page MenuHomePhabricator

abstract the "multilingual" current language logic
Closed, InvalidPublic

Description

There are multiple instances across the application of method being used to filter the current language from a specific multilingual string. The logic is very similar and also quite complex to read.

To simplify the project, we should "abstract" this method and make it reusable across the application

NOTE: search for getCurrentZLanguage to easily find instances of this