Comments (6)
Thanks for the example. We are currently working on a fix. One way that currently does work is to manually use String.format
instead of passing format args to getString
TextView textView = findViewById(R.id.placeholder_key);
String translation = getString(R.string.formatted_string);
textView.setText(String.format(translation, "name"));
from phrase-android.
Hi @hichamboushaba, thanks for reporting it. We are currently looking into this. Could you provide me an example translation for it? That would be very helpful
from phrase-android.
Hi @theSoenke, any string that has format arguments and line breaks would cause it, for example:
"Hello\n%1$s"
Thanks,
from phrase-android.
We will release a fix for this most likely tomorrow
from phrase-android.
Thanks a lot for the quick update.
from phrase-android.
I confirm that the issue is resolved using version 2.0.1.
from phrase-android.
Related Issues (20)
- 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
- jitpack build failed HOT 4
- [URGENT] Critical Vulnerability reported in latest release HOT 2
- In new versions of SDK translation doesn't always refresh HOT 3
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.