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.

Document how to configure message bundle assets and how to internationalize an app

See original GitHub issue

Describe the documentation issue

  • Documentation is unclear
  • Documentation is incorrect
  • Documentation is missing
  • Other

Description of the issue When using UI5 web components, I get warnings in the console:

Message bundle assets are not configured. Falling back to english texts.  You need to import @ui5/webcomponents/dist/json-imports/i18n.js with a build tool that supports JSON imports.

I imported @ui5/webcomponents/dist/json-imports/i18n.js using rollup-plugin-json. Now I also get the message:

Inefficient bundling detected: consider bundling i18n imports as URLs instead of inlining them.
See rollup-plugin-url or webpack file-loader for more information.
Suggested pattern: "assets\/.*\.json"

I know this all has to do with internationalization. There should be documentation about how to configure message bundle assets and how to internationalize an app.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
brodocommented, Oct 7, 2019

Oh, sorry I did not see that. Thanks for the info!

0reactions
LuisValgoicommented, Feb 11, 2020

@ilhan007

oh, btw: I’m using WC-React Wrapper. Is it affect by this wrapper?

like this? image

check the console for this case: image

Read more comments on GitHub >

github_iconTop Results From Across the Web

Internationalizing the Application | SAP Help Portal
Internationalization is a feature of mobile applications that display messages and other text strings in the selected language.
Read more >
Localization - Apple Developer
Internationalization, the process of structuring your app's code and UI for localization, is a fundamental first step in building apps for a global...
Read more >
Using i18n for apps - UI5 Web Components - SAP
1. Start by creating some i18n resources in .properties format in a directory that can be served, for example: ; assets/messagebundle_de.properties, PLEASE_WAIT= ...
Read more >
Internationalizing Flutter apps
Setting up an internationalized app: the Flutter_localizations package; Adding your own localized messages; Localizing for iOS: Updating the iOS app bundle.
Read more >
Globalization and localization in ASP.NET Core
You develop your app with your default language and prepare it for the localization step without first creating a default resource file.
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