Cht-core: Date picker widget is not translated for language Bamanankan (bm)

Created on 18 Sep 2018  路  7Comments  路  Source: medic/cht-core

See #3327 for details.

After #4830 the date picker is translated for all the default Medic languages except for Bamanankan (bm). The bootstrap-datepicker library does not include a language pack for Bamanankan, so one should be created. A sample of language packs can be found at https://github.com/uxsolutions/bootstrap-datepicker/tree/master/js/locales.

2 - Medium Translations Bug

All 7 comments

Once this is done contribute it back to the bootstrap-datepicker repo so others can use and improve it.

I've copied these from moment.js as well as our own translation file.

{
  days: ["Kari","Nt蓻n蓻n","Tarata","Araba","Alamisa","Juma","Sibiri"],
  daysShort: ["Kar","Nt蓻","Tar","Ara","Ala","Jum","Sib"],
  daysMin: ["Ka","Nt","Ta","Ar","Al","Ju","Si"],
  months: ["Zanwuyekalo","Fewuruyekalo","Marisikalo","Awirilikalo","M蓻kalo","Zuw蓻nkalo","Zuluyekalo","Utikalo","S蓻tanburukalo","蓴kut蓴burukalo","Nowanburukalo","Desanburukalo"],
  monthsShort: ["Zan","Few","Mar","Awi","M蓻","Zuw","Zul","Uti","S蓻t","蓴ku","Now","Des"],
  today: "Bi",
  monthsTitle: "Kalow", // possibly "Kalo"?
  clear: "Ka j蓴si",
  weekStart: 1,
  format: "d/mm/yyyy"
}

@abbyad Who do we know who can speak Bambara and can confirm these are correct?

@Fatoufall and @abdoufata should be able to connect directly someone that can confirm the translations.

Can one of you please confirm that the translations above match these English ones?

I confirmed that translations above are correct. Preffered Kalo for monthsTitle
I suppose this is a typo on format date: dd/mm/yyy

Thanks for that Fatou. And yes, that does look like a typo as format should be dd/mm/yyyy

This is what the datepicker looks like these translations:
screenshot from 2018-09-19 13-22-06
screenshot from 2018-09-19 13-22-15

Here is the link to contribute this into the bootstrap-datepicker repo. @Fatoufall I added your name and email to that translation as-is the convention in that repository. Are you okay with that? Easy for me to remove if you have any concerns.
https://github.com/uxsolutions/bootstrap-datepicker/pull/2431

LGTM. Tested on gamma.dev v3.3
Before
image . ||
image

After
image
image

Was this page helpful?
0 / 5 - 0 ratings