Comments (4)
I am closing this since 3.1.2 includes it! thanks!
from phrase-android.
Hi @angelolloqui, you are right that this is currently not possible in the Android SDK. My only concern would be that there is no guarantee anymore that there are translations when using dynamic strings. Compared to using ids from the strings resources file where we always have the fallback in case the SDK has not finished fetching the translations yet.
Does it happen on a regular basis that you have dynamic strings added for example from a server you need translations for?
from phrase-android.
Sorry @theSoenke I totally missed your comment!
Does it happen on a regular basis that you have dynamic strings added for example from a server you need translations for?
Not that much but in several places. The most common case we find are A/B test experiments, since we have a base string for the general public, but then from the remote config we can configure some other string to be used instead. Then code tries to fetch that string dynamically and defaults to the general one (in the binary) if none.
from phrase-android.
Hi @theSoenke , any news about this? I am now using reflection to get access to the internals of phrase and its repository to get this, but it is fragile. Any plan to add it soon? thanks!
from phrase-android.
Related Issues (20)
- CLI - Ability to specify `tools:locale`
- [Android] Some strings still stay its old language after calling Phrase.setLocaleCode(localeCode) HOT 4
- Add support to Android 13 (API 33) in-app language change HOT 5
- XmlPullParserException gets Logged by Phrase OTA HOT 6
- Migrate to a different host provider HOT 3
- Got Status 422 : parameter 'version' is not a valid semver version HOT 2
- Some locales not set properly by xml HOT 2
- Crash when selecting text in a WebView HOT 1
- The app is blinking HOT 3
- Download all available translated texts HOT 2
- Phrase compose SDK download fails with 401 unauthorized HOT 5
- Crash SDK version >= 3.4.0 for TabLayout and TextInputLayout HOT 2
- Phrase SDK crash webview on forms opening AlertDialog HOT 12
- Protect language files served by Phrase OTA HOT 1
- Custom View Support now working HOT 3
- Do I always need to restart the app in order to see the updated changes? HOT 5
- Version 3.7.1 is still not available on the maven repository HOT 1
- Crash when inflate a layout with FragmentContainerView and use NavHostFragment HOT 2
- Recent releases all have the same hash HOT 1
- Theme not changed in runtime when Phrase initialized with custom locale HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phrase-android.