Translation of user profile page
Permalink
Hi,
I am new to concrete5 and do some tests with the system. My location is germany, so I use the german translation. All works fine, except the user profile page. Within the sidebar the link names will be shown in english. E.g. Edit, Avatar, Messages and Friends. After some searching I find out, that the name of the links will come out of the database. To solve this and get the links name in german e.g. Bearbeiten, Avatar, Nachrichten und Freunde, I have duplicate the file from concrete /blocks/autonav/controller.php to /blocks/autonav/controller.php and changed the following code in this file
I am not in expert in php and concrete5. I this, what I did, a possible solution or is this totally wrong? Please let me know.
PS: Sorry for my english, now you know why I use the german translation ;-)
I am new to concrete5 and do some tests with the system. My location is germany, so I use the german translation. All works fine, except the user profile page. Within the sidebar the link names will be shown in english. E.g. Edit, Avatar, Messages and Friends. After some searching I find out, that the name of the links will come out of the database. To solve this and get the links name in german e.g. Bearbeiten, Avatar, Nachrichten und Freunde, I have duplicate the file from concrete /blocks/autonav/controller.php to /blocks/autonav/controller.php and changed the following code in this file
function getName() { /* return $this->cvName; */ return t($this->cvName); }
I am not in expert in php and concrete5. I this, what I did, a possible solution or is this totally wrong? Please let me know.
PS: Sorry for my english, now you know why I use the german translation ;-)