question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Expose Strings in SoundRecorderUI

See original GitHub issue

Problem I cant translate these strings from the UI widgets to my language(spanish btw) Text(_isPaused ? 'Recorder is paused' : _isRecording ? 'Recorder is recording' : 'Recorder is stopped'),

Line 218 from here https://github.com/dooboolab/flutter_sound/blob/master/flutter_sound/lib/src/ui/sound_recorder_ui.dart

Solution Expose the values

Alternatives Accept multiple translations with the use of intl package.

Image from the flutter_sound readme with the strings https://github.com/dooboolab/flutter_sound/blob/master/flutter_sound/example/lib/widgetUI/widgetUI.png

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:6

github_iconTop GitHub Comments

1reaction
Larpouxcommented, Oct 1, 2020

Yes @hectorAguero , you are perfectely right : This is not correct to have English inside the WidgetUI. I consider that as a Bug 👎

This is my fault. I am going to fix that.

0reactions
Larpouxcommented, Oct 28, 2020

#498 : this is a fix kindly offered by @EslamHanafy .

It will be merged in Version 6.4

Read more comments on GitHub >

github_iconTop Results From Across the Web

SoundRecorderUI class - sounds library - Dart API - Pub.dev
API docs for the SoundRecorderUI class from the sounds library, ... String: Returns a string representation of this node and its descendants. inherited....
Read more >
Play the Strings in GarageBand for iPhone - Apple Support (QA)
Using the Strings, you can choose different string sounds, and play one or several strings at once. You can play notes, chords, and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found