Topic-icon How to translate.....

  • silberfuchs
  • silberfuchs's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
More
22 Dec 2015 13:54 - 22 Dec 2015 13:55 #30859 by silberfuchs
How to translate..... was created by silberfuchs
Hi,

your Easysocial plugin is working fine now for me but I need to know how to translate the shown "Activity" in the stream - in my case e.g. "Strolling". Where do I have to translate all those pre given activities from Runtastic that they will be shown in the right language on my page.

Thanks for your support!


Attachments:
Last edit: 22 Dec 2015 13:55 by silberfuchs.

Please Log in or Create an account to join the conversation.

More
22 Dec 2015 14:37 #30860 by nordmograph
Replied by nordmograph on topic How to translate.....
Hi

Runtastic language files are stored in
administrator/language/en-GB/en-GB.plg_app_user_runtastic.ini

But strolling doesn't seem to be from that file.
It could be from Runtastic itself.

- Need help? Post the URL of the related page (eventualy as confidential info), it will help solve your issue faster.
- An error, notice or warning? report the exact message including the line number
- If you get a white page , enable error reporting and / or check your server error logs.

Please Log in or Create an account to join the conversation.

  • silberfuchs
  • silberfuchs's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
More
22 Dec 2015 14:41 #30861 by silberfuchs
Replied by silberfuchs on topic How to translate.....
Yes that's right - it seems to be from Runtastic itself.....the current activity which iwas done. Is there any chance to get this in German - my frontend language in Runtastic is German.....any idea?

Please Log in or Create an account to join the conversation.

More
28 Dec 2015 14:51 - 28 Dec 2015 14:53 #30944 by nordmograph
Replied by nordmograph on topic How to translate.....
Hi,
Sorry for the late reply.
Open
media/com_easysocial/apps/user/runtastic/class/class.runtastic.php

find
www.runtastic.com/en/users/
around line 97

and replace it with
www.runtastic.com/de/users/

Not tested, but should do the work.
Let me know


Edit:
You might also need to edit line 91 to replace
preg_match("/en\/users\/(.*)\/dashboard/", $aTag->getAttribute("href"), $matches))
with
preg_match("/de\/users\/(.*)\/dashboard/", $aTag->getAttribute("href"), $matches))

- Need help? Post the URL of the related page (eventualy as confidential info), it will help solve your issue faster.
- An error, notice or warning? report the exact message including the line number
- If you get a white page , enable error reporting and / or check your server error logs.
Last edit: 28 Dec 2015 14:53 by nordmograph.

Please Log in or Create an account to join the conversation.

  • silberfuchs
  • silberfuchs's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
More
03 Jan 2016 20:06 #30969 by silberfuchs
Replied by silberfuchs on topic How to translate.....
Sorry for my late reply and your support. I does not work - wether with one or two changes in the file.

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum
Disclaimer: Nordmograph is not affiliated with or endorsed by The Joomla! Project™. Any products and services provided through this site are not supported or warrantied by The Joomla! Project or Open Source Matters, Inc. Use of the Joomla!® name, symbol, logo and related trademarks is permitted under a limited license granted by Open Source Matters, Inc.
Copyright © 2021 Nordmograph - Joomla extensions. All Rights Reserved.
Joomla! is Free Software released under the GNU General Public License.
Browser of the future