/**
 * Copyright (C) 2021 SIL International. All rights reserved.
 */

package com.tavultesoft.kmea;

import android.content.Context;
import android.view.Display;

public class DisplayLanguages {
  private static final String TAG = "DisplayLanguages";
  public static final String displayLanguageKey = "DisplayLanguage";
  public static final String unspecifiedLocale = ""; // empty string for app to use device's default locale

  public static class DisplayLanguageType {
    String languageTag;
    String languageName;

    public DisplayLanguageType(String languageTag, String languageName) {
      this.languageTag = languageTag;
      this.languageName = languageName;
    }

    public String getLanguageTag() {
      return this.languageTag;
    }

    public String getLanguageName() {
      return this.languageName;
    }
  }

  // Display Language types (as named in translate.keyman.com)
  // Order doesn't matter since we're storing BCP-47 tags in the settings preference
  public static final DisplayLanguageType[] getDisplayLanguages(Context context) {
    DisplayLanguageType[] languages = {
      new DisplayLanguageType(unspecifiedLocale, context.getString(R.string.default_locale)),
      new DisplayLanguageType("en", "English"),
      new DisplayLanguageType("fr-FR", "French"),
      new DisplayLanguageType("ff-ZA", "Fula"),
      new DisplayLanguageType("de-DE", "German"),
      new DisplayLanguageType("km-KH", "Khmer"),
      new DisplayLanguageType("ann", "Obolo")
    };
    return languages;
  }
}

@@ -1299,56 +1299,8 @@
 %22),%0A
-      new DisplayLanguageType(%22ff-ZA%22, %22Fula%22),%0A
     
@@ -1439,16 +1439,78 @@
 %22Obolo%22)
+,%0A      new DisplayLanguageType(%22ff-ZA%22, %22Pulaar%22) // or Fulah
 %0A    %7D;%0A

Rename "Fula" to "Pulaar"