Bugs in jomsocial activity

romagromov
romagromov
Offline
0
1. I've translated language variable on russian, but in activity stream in displays on english:
ADDED_ALBUM="добавил(а) новый альбом"

2. In activity stream url to album is wrong (it going to adminsitrator page)

https://www.monosnap.com/image/15Zj9p2DGBwLJVEu0pSJEAu3X0gvA6.png
Responses (4)
  • Accepted Answer

    Friday, February 14 2014, 12:13 PM - #Permalink
    0
    thanks for the heads up. I've re-packed the plugin, version 1.0.1

    please download an install. (should work good for the new album additions)

    just a question: the language label you're adding is in file com_muscol.ini right?
    The reply is currently minimized Show
  • Accepted Answer

    romagromov
    romagromov
    Offline
    Friday, February 14 2014, 12:41 PM - #Permalink
    0
    Yes, in file ru-RU.com_muscol.ini

    Strange things...
    I've deleted ADDED_ALBUM="added album" from english file
    then I added ADDED_ALBUM="добавил(а) новый альбом"
    and activity stream displays

    https://www.monosnap.com/image/TNzdquYIsm81zx4fyn0sGP4cV7veNf.png

    then I translated ADDED_ALBUM= right in english file - now it displays correct, but this is not normal, this is a bug...

    I found problem - my admin panel was on english. I switched it on russian - and now "added album" displays on russian, but it is still an error.
    Frontend should not depend on the admin language settings.
    The reply is currently minimized Show
  • Accepted Answer

    Friday, February 14 2014, 05:43 PM - #Permalink
    0
    yes I see what you mean, but the thing is that the entry on JomSocial is not translated by the system, which means that the string has to be stored "already" translated. therefore, the language used is the language active in that moment (in the backend, as you say, you had English, to described the situation perfectly)
    The reply is currently minimized Show
  • Accepted Answer

    romagromov
    romagromov
    Offline
    Friday, February 14 2014, 06:28 PM - #Permalink
    0
    I understand this, that's why I check it every time after I add new album.
    The fact remains ...
    If admin panel on english - activity stream for music collection displays (saves in database) in englsih and it's applies only variable ADDED_ALBUM=
    • Germinal Camps
      more than a month ago
      yes, it's what said.. we can't select a different language if you're adding from admin, which has english language..
    The reply is currently minimized Show
Your Reply