plasmo icon indicating copy to clipboard operation
plasmo copied to clipboard

[BUG] Tab title not localised

Open vernak2539 opened this issue 11 months ago • 0 comments

What happened?

When creating new tabs with a localised extension, the tab title isn't localised. This makes the browser's page title look something like this:

Screenshot 2025-01-06 at 16 15 26

It looks like this is due to how the scaffolder generates the HTML by simply inserting the value in the manifest.

I'm unsure how to go about fixing this. Since the title is generated during build (basically static) and HTML doesn't allow for a form of interpolation, it seems that this may have to be done in user land based on the framework one is using (react, svelte, etc.)?

Would love to know how anyone else has gotten this working!

Version

Latest

What OS are you seeing the problem on?

Windows, MacOSX, Linux

What browsers are you seeing the problem on?

Chrome, Microsoft Edge

Relevant log output

No response

(OPTIONAL) Contribution

  • [ ] I would like to fix this BUG via a PR

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct
  • [X] I checked the current issues for duplicate problems.

vernak2539 avatar Jan 06 '25 16:01 vernak2539