Skip to content

Extend CDN configuration capabilities - #24

Draft
NikolaRusakov wants to merge 1 commit into
tolgee:masterfrom
NikolaRusakov:fix/fix-manifest-and-cdn-tolgee-configuration
Draft

Extend CDN configuration capabilities#24
NikolaRusakov wants to merge 1 commit into
tolgee:masterfrom
NikolaRusakov:fix/fix-manifest-and-cdn-tolgee-configuration

Conversation

@NikolaRusakov

Copy link
Copy Markdown
Contributor

Content

As a part of broader integration with open source repositories that adapted Tolgee SDK, the content CDN language mapping and manifest.json file prevented consuming static XML files from Tolgee Platform.

  1. This was observed when using https://app.tolgee.io/projects/29352/integrate project which suggests setting up .tolgeerc config file and pushing the current strings.xml, this required custom paths for real life projects.
  2. It was also observed that availableLocales(availableLocales) needed to be provided in Tolgee.init

During debugging session it see observed that when cached manifest option for locales wasn't provided in Tolgee.init
https://github.com/NikolaRusakov/tolgee-mobile-kotlin-sdk/compare/feature/add-real-world-examples#diff-89dd2512191d99f1bad25149615c5615fdee683679fe63754624194879ba2084R13-R32
The configuration would fail.

Fix for statically consumed as other formats from Tolgee Platform

  • preventing reuse of inline function val path: (language: String) -> String = { "$it.json" }, allowed defining path that differs with following platform configuration:
Screenshot From 2026-06-30 21-12-08

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