1. Мы продолжаем публиковать интересные статьи на тему SocialEngine 4. Одна из статей посвящена правильному выбору сервера для вашей социальной сети, а другая содержит советы по увеличению производительности платформы. Также мы добавили большую статью о пользовательских уровнях. Ознакомиться со статьями вы можете в разделе Вопросы и Ответы SocialEngine 4.
  2. Вам кажется, что ваша версия SocialEngine 4, работает медленно?

    Голосуйте. Пишите свою версию системы, железо на чем работает и количество пользователей. Будем увеличивать производительность :-) Подробнее

  3. В связи с участившимися случаями попыток продажи пользователями форума различных "сборок" коммерческих социальных платформ, обычно основанных на SocialEngine 3, вводится новое правило для форума. Запрещается создание тем или размещение в уже созданных предложений о продаже или размещение ссылок на сайты, где происходит продажа "сборок". Пользователи, которые продолжат свою коммерческую деятельность в данном направлении, будут заблокированы. Подробнее.

Question In new update 4.2.8, I need translate something

Discussion in 'Прочая Поддержка - Help Requests' started by Владмир, Nov 3, 2012.

  1. Владмир Thread starter User


    Offline
    Message Count:
    80
    Likes Received:
    1
    My version of phpFox:
    3.4.0
    Hi what frase I need to add in language manager for translation new option (application/modules/Activity/Model/Action.php - Added Share Action to Activity Feed) I Tried {item:$subject} shared {item:$object}''s {var:$type}. {body:$body} but it's not translate! Please I need help, thank!

    В новой версии 4.2.8 добавлена новая функция (application/modules/Activity/Model/Action.php - Added Share Action to Activity Feed) и я её ни как не могу перевести на Русский!
    Я пытался уже добавить в менеджер языков {item:$subject} shared {item:$object}''s {var:$type}. {body:$body} но это не переводится?!

    Коллеги, кто поможет ;)
  2. nadri Administrator


    Offline
    • Admin
    • Знаменитый
    Message Count:
    1,257
    Likes Received:
    392
    My version of SE:
    4.6.0
    First, check if this phrase existed in lang file, if no, first add as new one, and then translate it
  3. Владмир Thread starter User


    Offline
    Message Count:
    80
    Likes Received:
    1
    My version of phpFox:
    3.4.0
    Nadry, I cheked in lang file and this phrase not exist. So I added this one {item:$subject} shared {item:$object}''s {var:$type}. {body:$body} and also tried this one {item:$subject} shared {item:$object}''s {var:$type} ,,, but it's not help!
    I get phrase from application/modules/Activity/Model/Action.php LINE 9672-9763 (from update 4.2.8)
  4. nadri Administrator


    Offline
    • Admin
    • Знаменитый
    Message Count:
    1,257
    Likes Received:
    392
    My version of SE:
    4.6.0
    There is no such phrases in that file.

    These files existed ONLY in db - ( look in my.sql at line 76. for first phrase)

    To add these phrases, do as follow:

    1. Add these phrase(s) into English language first.
    2. Translate in all others languages

    If these two steps don't work on your site, be shure that something is wrong with your whole installatiion.
    Владмир likes this.
  5. Владмир Thread starter User


    Offline
    Message Count:
    80
    Likes Received:
    1
    My version of phpFox:
    3.4.0
    Ok there has code :

    INSERT IGNORE INTO `engine4_activity_actiontypes` (`type`, `module`, `body`, `enabled`, `displayable`, `attachable`, `commentable`, `shareable`, `is_generated`)
    VALUES ('share', 'activity', '{item:$subject} shared {item:$object}''s {var:$type}. {body:$body}', 1, 5, 1, 1, 0, 1);

    I added this one {item:$subject} shared {item:$object}''s {var:$type}. {body:$body} and also tried this one {item:$subject} shared {item:$object}''s {var:$type} ,,, but it's not help!
  6. nadri Administrator


    Offline
    • Admin
    • Знаменитый
    Message Count:
    1,257
    Likes Received:
    392
    My version of SE:
    4.6.0
    Are you add these phrases thru Language Editor, or directly into lang file?
    If you add phrases directly into file, then you must first clear cash..
    Владмир likes this.
  7. Владмир Thread starter User


    Offline
    Message Count:
    80
    Likes Received:
    1
    My version of phpFox:
    3.4.0
    I add these phrases thru Language Editor :banghead: ;)
  8. nadri Administrator


    Offline
    • Admin
    • Знаменитый
    Message Count:
    1,257
    Likes Received:
    392
    My version of SE:
    4.6.0
    Then, you have a BIG problem with your installation.
    This is standard procedure for add missing phrases, so....
    Владмир likes this.
  9. Владмир Thread starter User


    Offline
    Message Count:
    80
    Likes Received:
    1
    My version of phpFox:
    3.4.0
    Nadri, What you think what I need add from code if I want translate for example @Alexy . shared Dima .'s video@

    :
    INSERT IGNORE INTO `engine4_activity_actiontypes` (`type`, `module`, `body`, `enabled`, `displayable`, `attachable`, `commentable`, `shareable`, `is_generated`)
    VALUES ('share', 'activity', '{item:$subject} shared {item:$object}''s {var:$type}. {body:$body}', 1, 5, 1, 1, 0, 1);
  10. nadri Administrator


    Offline
    • Admin
    • Знаменитый
    Message Count:
    1,257
    Likes Received:
    392
    My version of SE:
    4.6.0
    Nothing else - this is sufficient.

    Listen, maybe Se have some BUG, and they will be soon fix that.
    From now on - NEVER instal a new update among first - let others to tested it, and if they don't have any complaints about new upgrade, then you may install that update.
    Владмир likes this.

Share This Page

All rights reserved SocEngine.ru ©