Skip to content

Adding Bosnian translation#2341

Open
dzanahmed wants to merge 4 commits intoddsjoberg:mainfrom
dzanahmed:main
Open

Adding Bosnian translation#2341
dzanahmed wants to merge 4 commits intoddsjoberg:mainfrom
dzanahmed:main

Conversation

@dzanahmed
Copy link

@dzanahmed dzanahmed commented Oct 31, 2025

What changes are proposed in this pull request?
Added Bosnian language translations.


Hi,

I'm a researcher from Bosnia and Herzegovina, and a longtime fan and user of gtsummary. Thanks @ddsjoberg and all the rest of the team for building and maintaining this awesome package.

Given that I sometimes need to provide outputs in local language, I found myself translating the outputs through some scripts, and then I realised that I can contribute by adding my language to the package, which would be useful for me, and possibly other researchers from the Western Balkans region.

I've followed this pull request: #1302 and gone through the same steps.

Although Bosnian is spoken by some 3 milion people, our language is very similar to Croatian, Serbian and Montenegrin (when combined, this gives about 20 milion speakers worldwide; the languages have different names, but we understand each other 100%).

If the translation needs to be validated by another person - any of native speakers of these languages would be able to do so.


Reviewer Checklist (if item does not apply, mark is as complete)

  • PR branch has pulled the most recent updates from main branch.
  • If a bug was fixed, a unit test was added.
  • Run pkgdown::build_site(). Check the R console for errors, and review the rendered website.
  • Code coverage is suitable for any new functions/features: devtools::test_coverage()
  • usethis::use_spell_check() runs with no spelling errors in documentation
  • All GitHub Action workflows pass with a ✅

When the branch is ready to be merged into master:

  • Update NEWS.md with the changes from this pull request under the heading "# gtsummary (development version)". If there is an issue associated with the pull request, reference it in parentheses at the end update (see NEWS.md for examples).
  • Increment the version number using usethis::use_version(which = "dev")
  • Run usethis::use_spell_check() again
  • Approve Pull Request
  • Merge the PR. Please use "Squash and merge".

@ddsjoberg
Copy link
Owner

Thanks @dzanahmed !

Just an FYI, translation changes take more time to review, and I am not sure exactly when I'll have the bandwidth to review (just to st expectations). But truly appreciate the addition.

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.

2 participants