---
schema_version: "1"
id: cfa68295136f824646a5717459638d2323594dfc6c380e5dc841055a3044e416
title: Create a Custom Object for a Report
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/admin_locales_custom_object.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.admin_locales_custom_object.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 6850489aaca1004171701e04a162dbbc952966a33ba858c7a16a4105b1d1f6d0
description: To identify which users chose to use each locale, create a custom field on the User object. Then use that custom field to create a report that lists users by locale code.
products:
  - Salesforce Platform
  - Cross Cloud
release: "264"
---
# Create a Custom Object for a Report

To identify which users chose to use each locale, create a custom field on the User object. Then use that custom field to create a report that lists users by locale code.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: both Salesforce Classic and Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: all editions</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d122463e60">User
              Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d122463e60 ">To view release updates:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d122463e60 ">View Setup and Configuration</td>

          </tr>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d122463e60 ">To enable or disable release updates</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d122463e60 ">
              <p>Manage Release Updates</p>
              <p>OR</p>
              <p style="margin-bottom:0;">Customize
                Application</p>
            </td>

          </tr>
        </tbody>
      </table>

1. Click the gear icon (![A gray gear icon with a lightning bolt in the center.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-setup-264-0-0-production-enus/6f21df35-9ea0-4f53-ac94-45c3b5dfd5bc/resources-global/_corporate/images/gear.png)), and select **Setup**
    
    Setup launches in a new tab.
2. Click the **Object Manager** tab.
3. From the list of objects, click **User**.
4. Click **Fields & Relationships**, then click **New**.
5. Select **Formula** as the data type, and click **Next**.
6. For the Field Label, enter Locale Code.
7. Ensure that **Add this field to existing custom report types that contain this entity** is selected.
8. For Formula Return Type, select **Text**, and click **Next**.
9. In the formula editor, enter `TEXT(LocaleSidKey)`, and click **Check Syntax**
    
    ![New custom field screen with formula entered.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-setup-264-0-0-production-enus/6f21df35-9ea0-4f53-ac94-45c3b5dfd5bc/setup/images/admin_locales_user_locale_code_field_syntax.png)
    
    A green message confirms that no syntax errors were found.
10. Optionally, enter a description for the field such as Locale code for the user’s locale in personal settings.
11. In Blank Field Handling, select **Treat blank fields as blanks**, and click **Next**.
12. Select the profiles that you want to grant edit access to this field. At minimum, select the **System Administrator** profile, and click **Next**.
13. Select the page layouts where you want to include this field, and click **Save**.