Closed lyonelf closed 1 year ago
Did you first register this computer and did then add translation for this string? Or was translation first?
If I'm right "Self Registration" is only a text which is saved with the computer informations when you register it. If you then change the language (or add a translation for this string) the text stays the same as before.
No no, translation was made before injected the PC
The text "Self Registration" is saved forever in the description field of the computer when registering it. The problem is that api-agent.php
is called from the agent (not from your web browser) and since it does not send a language header, the English text will always be used, no matter what language is set in your browser.
I'm going to change the behavior as follows:
LANG()
before displaying it in the browser, this will replace "self_registration" with the translated text
I have translated this line but in web portal it stay in english