0

updater: document the lang tag parameter

Bug: 385004395
Change-Id: I2af4c752137c4ed2acd91e6b420f515a8f805e77
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6214712
Reviewed-by: Joshua Pawlicki <waffles@chromium.org>
Commit-Queue: Joshua Pawlicki <waffles@chromium.org>
Auto-Submit: S Ganesh <ganesh@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1413118}
This commit is contained in:
S. Ganesh
2025-01-29 13:03:59 -08:00
committed by Chromium LUCI CQ
parent 63fc71ea34
commit b2bfb48549

@ -179,6 +179,36 @@ however, the application is then only installed for the current user. The
application installer needs to be able to support the installation as system, or
per-user, or both modes.
### `lang`
`lang` is one of the install parameters that can be specified for
installs via the
[metainstaller tag](https://source.chromium.org/chromium/chromium/src/+/main:chrome/updater/tools/tag.py).
`lang` is used to indicate the language that the updater installation UI is
displayed in.
For example, here is a command line for the Updater on Windows that includes
`lang` Arabic:
```
UpdaterSetup.exe --install="appguid=YourAppID&lang=ar"
```
The full list of supported languages for Chromium and Google Chrome respectively are listed in
[chromium_strings.grd](https://source.chromium.org/chromium/chromium/src/+/main:chrome/app/chromium_strings.grd)
and
[google_chrome_strings.grd](https://source.chromium.org/chromium/chromium/src/+/main:chrome/app/google_chrome_strings.grd)
under `<translations>`.
For example:
```
<translations>
<file path="resources/chromium_strings_af.xtb" lang="af" />
...
```
indicates that `lang=af` is a valid tag fragment.
### `installdataindex`
`installdataindex` is one of the install parameters that can be specified for