tradingview / charting-library-examples

Examples of Charting Library integrations with other libraries, frameworks and data transports
MIT License
1.33k stars 744 forks source link

How can we change the translation for resolution? #322

Open tpc-dawn opened 1 year ago

tpc-dawn commented 1 year ago

Hello! Thanks for the awesome library!

I'm using the library with locale 'ko'.

However, the translation for the resolution '1 D' is '1 날'.

I want to change this into '1일' .

Can we change the translation for resolution options?

Thanks.

Checklist

Describe the bug

A clear and concise description of what the bug is.

To Reproduce

Steps to reproduce the behavior:

  1. Clone the repo
  2. Go to '....' folder
  3. Run command
  4. See error

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

Add any other context about the problem here.

romfrancois commented 1 year ago

If you want to change any strings displayed on the chart, please refer to the custom_translate_function property from Widget Constructor.