# Customize Designer Localization

## Content

You can customize the Designer Component localization using the getResources and setResources methods. These methods help to modify the localization resources through the following steps:

1. Get the original designer resource object using the [getResources](/spreadjs/api/v17/designer/modules/GC.Spread.Sheets.Designer#getresources) method.
2. Modify the content of the resource object.
3. Set the modified resource object using [setResources](/spreadjs/api/v17/designer/modules/GC.Spread.Sheets.Designer#setresources) method.
4. Initialize the designer.

> **Note:** If you set resources after initializing the designer, you will have to modify and set the config in the designer to change the ribbon resources.

```JavaScript
var resources = GC.Spread.Sheets.Designer.getResources();
resources.ok = "OK!";
resources.formatDialog.title = "Format Dialog!"
resources.ribbon.home.home = "HOME!";
resources.ribbon.home.paste = "Paste!";
GC.Spread.Sheets.Designer.setResources(resources);

var designer = new GC.Spread.Sheets.Designer.Designer(document.getElementById("designerHost"));
```

The below output will be generated:

![](https://gcdocumentsitekrblob.blob.core.windows.net/document-site-files/images/8d606653-16a0-474d-b9dc-e2b4d01c2446/images/designer-localization.png)