-
Notifications
You must be signed in to change notification settings - Fork 23.1k
Document internationalization files in WebExtension anatomy #42683
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Document internationalization files in WebExtension anatomy #42683
Conversation
|
Preview URLs
(comment last updated: 2026-01-09 13:28:31) |
rebloor
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@MUSKANNISHAD thanks for this. However:
- could you put the web extension and web API changes into separate PRs, as they are reviewed by different groups of people
- the changes to the anatomy of a Web extension article need to be more extensive. For example, the internationalization files are not defined within the manifest.json file. In fact, the anatomy needs to be explained more along the lines of the structure identified in the internationalization article. This then highlights other useful updates. for example, making it clear that content scripts and CSS can be referenced from both the manifest.json file and loaded arbitrary (e.g. using the scripting API).
files/en-us/mozilla/add-ons/webextensions/anatomy_of_a_webextension/index.md
Outdated
Show resolved
Hide resolved
| For more details, see | ||
| [Internationalization](/en-US/docs/Mozilla/Add-ons/WebExtensions/Internationalization). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's keep the presentation consistent with the other sections
| For more details, see | |
| [Internationalization](/en-US/docs/Mozilla/Add-ons/WebExtensions/Internationalization). | |
| See [Internationalization](/en-US/docs/Mozilla/Add-ons/WebExtensions/Internationalization) to learn more to learn more. |
files/en-us/mozilla/add-ons/webextensions/anatomy_of_a_webextension/index.md
Outdated
Show resolved
Hide resolved
files/en-us/mozilla/add-ons/webextensions/anatomy_of_a_webextension/index.md
Outdated
Show resolved
Hide resolved
…nsion/index.md Co-authored-by: rebloor <[email protected]>
…tomy :wq :wq :wq :wq :wq :wq :wq :wq
This PR adds documentation for WebExtension internationalization files
by mentioning the
_locales/directory in the manifest-related file listand introducing a short section explaining its purpose, with a link to
the Internationalization guide.
Fixes #42541