Skip to content

Comments

Change to use actual language code for directory#12

Open
mnh48 wants to merge 1 commit intosibermerdeka:mainfrom
mnh48:main
Open

Change to use actual language code for directory#12
mnh48 wants to merge 1 commit intosibermerdeka:mainfrom
mnh48:main

Conversation

@mnh48
Copy link

@mnh48 mnh48 commented Jan 20, 2026

As discussed in real life yesterday, I've now made changes to use actual language code for directory

  • changed the directory for pages written in Malay from bm to ms to follow ISO 639 set 1 tags instead of using abbreviation of the language (bm is abbreviation of bahasa melayu / malaysia)
  • changed the links and cookie setting to use ms instead of bm
  • also added language tag to the HTML pages so that browser and screen readers would know what language the page is written in

These changes will also make it easier to add more languages in the future when we set the precedence to use ISO language tags instead of coming up with our own directory names

- changed the directory for pages written in Malay from `bm` to
  `ms` to follow ISO 639 set 1 tags instead of using abbreviation
  of the language (bm is abbreviation of bahasa melayu / malaysia)
- changed the links and cookie setting to use `ms` instead of `bm`
- also added language tag to the HTML pages so that browser and
  screen readers would know what language the page is written in
@mnh48
Copy link
Author

mnh48 commented Jan 20, 2026

Also, this one is just a note

Potential new languages to add if we have the mean to write them (given our member demographics)

  • Jawi Malay (language tag: ms-Arab)
  • Simplified Chinese (language tag: zh-Hans)
  • Traditional Chinese (language tag: zh-Hant)
  • Thai (language tag: th)
  • Tamil (language tag: ta)
  • Japanese (language tag: ja)

but these would be done separately and only when we're committed to maintaining the translations

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant