This topic contains a post which is marked as Best Answer. Press here if you would like to see it.
*

questions

  • *****
  • 319 posts
Translate login footer oc-admin/themes/omega/gui/login.php
« on: February 16, 2023, 04:01:48 PM »
I want to translate the login-footer

<div id="login-footer">
    <span><?php _e('Osclass'); ?> v<?php echo OSCLASS_VERSION; ?></span>
  </div>

file: oc-admin/themes/omega/gui/login.php

Is there any string that allows us to translate this? Or the only option is to modify  <span><?php _e('Osclass'); ->  <span><?php _e('Whatever');?

Thank you,

*

MB Themes

Re: Translate login footer oc-admin/themes/omega/gui/login.php
« Reply #1 on: February 16, 2023, 08:01:50 PM »
Belongs to core translations.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

questions

  • *****
  • 319 posts
Re: Translate login footer oc-admin/themes/omega/gui/login.php
« Reply #2 on: February 16, 2023, 08:14:15 PM »
Belongs to core translations.

Brother does not work. I translate the "Osclass" string but it does not gets translated. Any idea? Can you show me?

*

questions

  • *****
  • 319 posts
Re: Translate login footer oc-admin/themes/omega/gui/login.php
« Reply #3 on: February 16, 2023, 08:17:11 PM »
#: ../oc-admin/themes/omega/appearance/index.php:256
#: ../oc-admin/themes/omega/gui/forgot_password.php:15
#: ../oc-admin/themes/omega/gui/login.php:29
#: ../oc-admin/themes/omega/gui/login.php:91
#: ../oc-admin/themes/omega/gui/recover.php:15
#: ../oc-admin/themes/omega/market/languages.php:211
#: ../oc-admin/themes/omega/market/languages_plugins.php:208
#: ../oc-admin/themes/omega/market/languages_themes.php:201
#: ../oc-admin/themes/omega/market/locations.php:184
#: ../oc-admin/themes/omega/market/plugins.php:277
#: ../oc-admin/themes/omega/market/themes.php:292
#: ../oc-admin/themes/omega/parts/footer.php:11
#: ../oc-admin/themes/omega/plugins/index.php:379
#: ../oc-includes/osclass/install.php:286
msgid "Osclass"
msgstr "DOES NOT CHANGE"

does not translates.... that word.

even if I replace msgid "Osclass" with other translation is still in english it's not translated in the way I translate it.
« Last Edit: February 16, 2023, 08:24:48 PM by questions »

*

questions

  • *****
  • 319 posts
Re: Translate login footer oc-admin/themes/omega/gui/login.php
« Reply #4 on: February 16, 2023, 08:33:29 PM »
Attaching all pics you need, translation, permissions and back-office

*

questions

  • *****
  • 319 posts
Re: Translate login footer oc-admin/themes/omega/gui/login.php
« Reply #5 on: February 16, 2023, 08:34:12 PM »
See all pics

*

MB Themes

Re: Translate login footer oc-admin/themes/omega/gui/login.php
« Reply #6 on: February 16, 2023, 08:37:14 PM »
Maybe gui is not picking it properly.
Someone will check in future
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

questions

  • *****
  • 319 posts
Re: Translate login footer oc-admin/themes/omega/gui/login.php
« Reply #7 on: February 16, 2023, 08:41:47 PM »
Maybe gui is not picking it properly.
Someone will check in future

What do you mean? Does it work to you? Or you are having the same issue?

*

questions

  • *****
  • 319 posts
Re: Translate login footer oc-admin/themes/omega/gui/login.php
« Reply #8 on: February 16, 2023, 08:43:57 PM »
Maybe gui is not picking it properly.
Someone will check in future

Also please help me with this.

Google site verification
Need to know where I can insert the code......

Marked as best answer by frosticek on February 17, 2023, 10:02:36 AM
*

MB Themes

Re: Translate login footer oc-admin/themes/omega/gui/login.php
« Reply #9 on: February 16, 2023, 09:17:21 PM »
Maybe gui is not picking it properly.
Someone will check in future

What do you mean? Does it work to you? Or you are having the same issue?

On gui pages, you cannot change locale, so default one is probably always used (or english).
You can choose language here but that one is for ocadmin interface.
I was not able to change language here

Edit: GUI page (oc-admin login / restore...) use Osclass backoffice default locale.
« Last Edit: February 17, 2023, 10:02:33 AM by MB Themes »
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

questions

  • *****
  • 319 posts
Re: Translate login footer oc-admin/themes/omega/gui/login.php
« Reply #10 on: February 16, 2023, 09:20:39 PM »
Maybe gui is not picking it properly.
Someone will check in future

What do you mean? Does it work to you? Or you are having the same issue?

On gui pages, you cannot change locale, so default one is probably always used (or english).
You can choose language here but that one is for ocadmin interface.
I was not able to change language here

It is okay. No error at all.

Also please help me with this.

Google site verification
Need to know where I can insert the code......

*

MB Themes

Re: Translate login footer oc-admin/themes/omega/gui/login.php
« Reply #11 on: February 16, 2023, 09:21:19 PM »
Anywhere, you can also confirm ownershio by uploading file...
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots