Skip to content

RUM-10115 Collect locale attributes #2327

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

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

barboraplasovska
Copy link
Contributor

What and why?

This PR adds support for collecting locale-related attributes in the RUM event model:

  • preferred_languages: Ordered list of the user’s preferred system languages as IETF language tags.
  • locale: The user’s current locale as a language tag combining language and region, e.g. 'en-US'.
  • time_zone: The device’s current time zone identifier, e.g. 'Europe/Berlin'.

These attributes provide important context for reproducing locale-specific bugs (e.g., formatting issues), analyzing user language preferences, and understanding time-related behavior across regions.

Review checklist

  • Feature or bugfix MUST have appropriate tests (unit, integration)
  • Make sure each commit and the PR mention the Issue number or JIRA reference
  • Add CHANGELOG entry for user facing changes
  • Add Objective-C interface for public APIs (see our guidelines (internal) and run make api-surface)

@barboraplasovska barboraplasovska self-assigned this Jun 6, 2025
@barboraplasovska barboraplasovska force-pushed the bplasovska/RUM-10115/collect-locale-attributes branch 5 times, most recently from 80ac3e6 to 987e72f Compare June 13, 2025 13:39
@barboraplasovska barboraplasovska force-pushed the bplasovska/RUM-10115/collect-locale-attributes branch 3 times, most recently from 525a1a8 to 64ec8fc Compare June 20, 2025 13:43
@datadog-datadog-prod-us1
Copy link

datadog-datadog-prod-us1 bot commented Jun 20, 2025

Datadog Report

Branch report: bplasovska/RUM-10115/collect-locale-attributes
Commit report: c730e37
Test service: dd-sdk-ios

✅ 0 Failed, 2233 Passed, 1751 Skipped, 3m 7.02s Total duration (1m 30.59s time saved)

@barboraplasovska barboraplasovska force-pushed the bplasovska/RUM-10115/collect-locale-attributes branch 2 times, most recently from 72ad534 to 258da4e Compare June 23, 2025 11:44
@barboraplasovska barboraplasovska force-pushed the bplasovska/RUM-10115/collect-locale-attributes branch from 258da4e to c730e37 Compare June 23, 2025 14:33
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