Problem with $this->translate() function?
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Problem with $this->translate() function?
Hi
seems like for some unknown reason "Latest" are the one from the sort list which cannot be translated to russian (maybe to others too): "Упорядочить по: рейтингу Latest названию цене".
I see that it might be translated because it have the same as Relevance translation in ru.po file: msgid "Latest"
msgstr "последнему" and in \ext\ai-client-html\client\html\templat ... efault.php it has but instead of $this->translate( 'client', 'Relevance' ) it does not translated and return result in English - Latest.
Help with advice please.
seems like for some unknown reason "Latest" are the one from the sort list which cannot be translated to russian (maybe to others too): "Упорядочить по: рейтингу Latest названию цене".
I see that it might be translated because it have the same as Relevance translation in ru.po file: msgid "Latest"
msgstr "последнему" and in \ext\ai-client-html\client\html\templat ... efault.php it has
Code: Select all
$this->translate( 'client', 'Latest' )
Help with advice please.
Re: Problem with $this->translate() function?
According to Transifex, "Latest" isn't translated yet: https://www.transifex.com/aimeos/aimeos ... t%3Alatest
Maybe you can translate the missing strings?
Maybe you can translate the missing strings?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: Problem with $this->translate() function?
Shure, I can translate to Ukrainian. How I see it was not translated yet. But I alredy translated this "Latest" and write it to the file but continuing return english variant instead of translated russian.. thats what I mean
Re: Problem with $this->translate() function?
The easiest way is by using Transifex so we can integrate your translations into the next release.
Adding something to the .po file is only the step but you have to generate the MO file from it too:
https://aimeos.org/docs/Developers/Add_ ... anslations
Adding something to the .po file is only the step but you have to generate the MO file from it too:
https://aimeos.org/docs/Developers/Add_ ... anslations
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: Problem with $this->translate() function?
Ok, I understand, thank you