Any_language.csv file modification

thier are files name ar.csv (for arabic), af.csv etc

when i am updating this file let say, hello then translation to arabic one
why not it is changing when i change my language to arabic
is these files of any use, or just a static file ?
anyone know what this is ?

Hi,

Did you run a
bench --site all clear-cache
command ?

Try

bench --site site.name clear-cache

@monroy95 @FHenry can you tell how do i translate this below HTML

This is the HTML code for above image

<h4>Please read before signing :</h4>
<h6>I certify that all the information made in this application is true to the best of my knowledge and belief and that classification or willful omission the company has the right to terminate my service without prior written warning.</h6>

also clear-cache is changing the label name not the value inside it (which is default)
eg : see below image
image

i want to translate “this is a random text for your use” this
in ar.csv when i write for this it doesn’t work

Anyone who know the solution ?

Hello,
If the HTML is provided by Core ERPNext there is a missing translation feature.
If it’s from your custom template change it to

<h4>__('Please read before signing :')</h4>
<h6>__('I certify that all the information made in this application is true to the best of my knowledge and belief and that classification or willful omission the company has the right to terminate my service without prior written warning.')</h6>

It will allow you to translate sentence between __('....')