Skip to content

translation available - #6

Merged
CarwilB merged 6 commits into
masterfrom
07-23-translation_available
Jul 23, 2025
Merged

translation available#6
CarwilB merged 6 commits into
masterfrom
07-23-translation_available

Conversation

@CarwilB

@CarwilB CarwilB commented Jul 23, 2025

Copy link
Copy Markdown
Owner

TL;DR

Added functions to check translation availability and added GSS translation data.

What changed?

  • Added new functions to check translation availability:
    • translation_available_for: Checks which values have translations
    • num_translation_available_for: Returns count of available translations
    • all_translation_available_for: Checks if all values have translations
    • which_translation_unavailable_for: Returns values without translations
    • which_translation_available: Returns all values with translations
  • Added get_translation_variables() function to retrieve variables in the active translation table
  • Added gss_translation dataset with translations for GSS categorical variables
  • Added documentation and tests for new functions

Why make this change?

These functions make it easier to work with translation tables by providing tools to check which values have translations available. This helps users identify missing translations and validate their data before performing translations. The added GSS translation dataset provides a complete example for package users.

CarwilB commented Jul 23, 2025

Copy link
Copy Markdown
Owner Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@CarwilB
CarwilB marked this pull request as ready for review July 23, 2025 18:02
@CarwilB
CarwilB merged commit 4b8d643 into master Jul 23, 2025
1 check passed
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