Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(languages): Add bibliography localizations for Swedish #2125

Merged
merged 1 commit into from
Oct 3, 2024

Conversation

illfygli
Copy link
Contributor

@illfygli illfygli commented Oct 3, 2024

No description provided.

@illfygli illfygli requested a review from alerque as a code owner October 3, 2024 13:38
@alerque alerque added this to the v0.15.6 milestone Oct 3, 2024
@alerque alerque added the enhancement Software improvement or feature request label Oct 3, 2024
Copy link
Member

@alerque alerque left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for taking the time to contribute! I hope other Swedes can benefit. This should make it into the next release, which should be v0.15.6.

@illfygli
Copy link
Contributor Author

illfygli commented Oct 3, 2024

@alerque Nice, thank you!
I hope so too. I just found SILE, and ran into bibtex trouble due to the missing translation when using Swedish. Now that will work at least. :)

@alerque
Copy link
Member

alerque commented Oct 3, 2024

Just FYI there is some more bibtex related stuff including basic CSL support in another pending PR (#2082), you might be interested in checking that out. Depending on how you are going about running SILE there are ways to try out development branches (Docker, Nix Flake, etc.). Feel free to open a discussion issue with your platform details if you need tips on the incantation for running develop versions prior to release.

@alerque alerque merged commit 17371f3 into sile-typesetter:master Oct 3, 2024
20 checks passed
@alerque
Copy link
Member

alerque commented Oct 3, 2024

Also for this particular case you can just put the messages you want to set/override in your document or somewhere in your project's class/package/etc. until SILE support gets released:

\begin{ftl}
bibliography-and = och
bibliography-edited-by = Redigerad av { $name }
bibliography-et-al = m.fl.
bibliography-translated-by = Översatt av { $name }
hello = Hej <em>{ $name }</em>!
tableofcontents-not-generated = Kör om SILE för att bearbeta innehållsförteckningen!
\end{ftl}

@illfygli
Copy link
Contributor Author

illfygli commented Oct 3, 2024

@alerque Thanks!
That's definitely nicer than modifying the installed distro package files, like I did.

@Omikhleia
Copy link
Member

Omikhleia commented Oct 3, 2024

Nice, thank you! I hope so too. I just found SILE, and ran into bibtex trouble due to the missing translation when using Swedish. Now that will work at least. :)

Welcome to SILE ! Note that regarding bibliographies and bib(la)tex support, we'll have a different solution based on CSL styles and locales, with many more features (The bibtex package is and remains experimental, but I'll have more proposals to it eventually). Feel free to check https:/orgs/sile-typesetter/projects/12 to see what we have recently done and where we are heading.

@illfygli
Copy link
Contributor Author

illfygli commented Oct 3, 2024

@Omikhleia Thanks, checking it out. Good to see that bibliography support will be expanded!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Software improvement or feature request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants