forcedotcom / cli

Salesforce CLI
https://developer.salesforce.com/docs/atlas.en-us.sfdx_cli_reference.meta/sfdx_cli_reference/
BSD 3-Clause "New" or "Revised" License
487 stars 78 forks source link

Standard Object translations do not apply through package install #199

Open baksale opened 4 years ago

baksale commented 4 years ago

Summary

Standard Object Translations are not applied through package installation

Steps To Reproduce:

  1. Create a scratch org for a package and open it { "orgName": "Sample Org", "edition": "developer", "settings": { "orgPreferenceSettings": { "translation": true } } }
  2. Setup -> Rename Tabs and Labels -> Accounts -> Edit
  3. Change Account -> Client
  4. Change Accounts -> Clients
  5. Uncheck "Starts with vowel sound" and click Save
  6. Do sfdx force:source:pull and create new package version
  7. Reset Account Tab and install the package version into the scratch org

Expected result

Account Tab is renamed to Client

Actual result

Account Tab is unchanged

Additional information

SFDX CLI Version(to find the version of the CLI engine run sfdx --version): sfdx-cli/7.27.0-714f62f9c1 win32-x64 node-v10.15.3 SFDX plugin Version(to find the version of the CLI plugin run sfdx plugins --core) @oclif/plugin-commands 1.2.3 (core) @oclif/plugin-help 2.2.1 (core) @oclif/plugin-not-found 1.2.3 (core) @oclif/plugin-plugins 1.7.8 (core) @oclif/plugin-update 1.3.9 (core) @oclif/plugin-warn-if-update-available 1.7.0 (core) @oclif/plugin-which 1.0.3 (core) @salesforce/sfdx-trust 3.0.5 (core) analytics 1.2.1 (core) generator 1.1.1 (core) salesforcedx 46.17.0 (core) ├─ force-language-services 46.24.0 (core) └─ salesforce-alm 46.22.0 (core)

sfdx-cli 7.27.0 (core)

OS and version: Windows 7

baksale commented 4 years ago

Hi @clairebianchi Could you share reference for the problem with the other team?

Will they pick this ticket or will have a separate linked to the current one?

clairebianchi commented 4 years ago

@baksale, I have sent this ticket to the PM and they should be taking a look and getting back to you

OubaydaSam commented 1 year ago

Hello @baksale I have also the same problem on CustomObjects also with my 2nd Gen package, when I Translate the Object name + Tab in french, and after that I create the package and install it to the target org, that translation will not appear on the CustomObject the installed with the package

Any Idea that could solve this problem, or this still an issue till now ?

git2gus[bot] commented 10 months ago

This issue has been linked to a new work item: W-14424205

shetzel commented 10 months ago

This is still an issue, but not an issue with CLI behavior or even packaging behavior. It's specific to the CustomObjectTranslation metadata type that is not being applied during package install. I've created a work item for the owning server side team to prioritize and fix.