Loading
Upcoming Mandatory Changes to Public Key Infrastructure (PKI)Read More
Salesforce Enforces New Security Requirements in Summer 2026Read More

Custom static resource MetadataTranslations_en_US changes are overwritten every time the metadata cache is regenerated.

Publish Date: Jun 25, 2026
Description

Custom changes made to the MetadataTranslations_en_US static resource are lost every time the Metadata Cache is regenerated, requiring admins to redo translations repeatedly.



Root Cause

By design, the cache regeneration process rebuilds the MetadataTranslations_en_US static resource from source on every run. Any manual changes placed directly in the static resource will be lost.

 

Resolution

 

 
This is by design —  the cache process regenerates the MetadataTranslations_en_US static resource from source on every run.

Recommended Approach:

  1. Use Custom Labels overrides for any custom translations instead of editing MetadataTranslations_en_US directly. 
  2. Alternatively, store custom translation files in a separate static resource under a non-managed namespace 

 

Knowledge Article Number

005387211

 
Loading
Salesforce Help | Article