Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

How to deal with radically modified language files

9 years 4 months ago
  • Vince's Avatar
    Topic Author
  • Vince
  • Offline
  • Fresh Boarder
  • Posts: 39
  • Thank you received: 1
Licenses:
JomSocial Expired

ISSUE SUMMARY:

Look here: isurfedthere.com

Every time I upgrade JomSocial I have to spend countless hours to get my heavily modified language file integrated with the latest version included with the upgrade package. I have tried using the default language override function in Joomla, but I have run into several instances where it does not work for some reason, so I have gone back to hand coding my default en-GB language file.

With this latest JS 4.1.4 upgrade there are a TON of changes to the en-GB.com_community.ini file. There must be a way to parse this file with my existing file and weed out duplicates in the process. Are there any Joomla extensions that can do this?

It would also be a huge help if the JS team could somehow highlight the changed lines in the new file before it's published, so that I could more easily copy and paste the contents between the new file and my existing file. A sort of changelog for the language file if you will.

9 years 4 months ago
  • Vince's Avatar
    Topic Author
  • Vince
  • Offline
  • Fresh Boarder
  • Posts: 39
  • Thank you received: 1
Licenses:
JomSocial Expired

Look at this:
isurfedthere.com/my-friends (see screen shot)



Why do so many strings have to change with updates? Can't the constants at least stay the same? Ugh.

Attachments:
9 years 4 months ago
Licenses:

Hi, Vince.

But constants didn't changed:

COM_COMMUNITY_JUMP_ABC="abc"
COM_COMMUNITY_JUMP_DEF="def"
COM_COMMUNITY_JUMP_GHI="ghi"
COM_COMMUNITY_JUMP_JKL="jkl"
COM_COMMUNITY_JUMP_MNO="mno"
COM_COMMUNITY_JUMP_PQR="pqr"
COM_COMMUNITY_JUMP_STU="stu"
COM_COMMUNITY_JUMP_VWX="vwx"
COM_COMMUNITY_JUMP_YZ="yz"

Your old file just didn't have them. I uploaded original file from 4.1.3 package and constants are translated. Your file was renamed to -old.
If you want to change some texts on your site you should use Joomla! language override feature.
It works 100% on your site take a look:

i.imgur.com/IEz5mTe.png
i.imgur.com/NLYRQMP.png

Just make sure you disabled caching in Joomla!

You may also use diff checker to compare your modified language file with our newest release: www.diffchecker.com/

And that's all options you have.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
9 years 4 months ago
  • Vince's Avatar
    Topic Author
  • Vince
  • Offline
  • Fresh Boarder
  • Posts: 39
  • Thank you received: 1
Licenses:
JomSocial Expired

Michal wrote: Hi, Vince.

But constants didn't changed:

COM_COMMUNITY_JUMP_ABC="abc"
COM_COMMUNITY_JUMP_DEF="def"
COM_COMMUNITY_JUMP_GHI="ghi"
COM_COMMUNITY_JUMP_JKL="jkl"
COM_COMMUNITY_JUMP_MNO="mno"
COM_COMMUNITY_JUMP_PQR="pqr"
COM_COMMUNITY_JUMP_STU="stu"
COM_COMMUNITY_JUMP_VWX="vwx"
COM_COMMUNITY_JUMP_YZ="yz"

Your old file just didn't have them. I uploaded original file from 4.1.3 package and constants are translated. Your file was renamed to -old.
If you want to change some texts on your site you should use Joomla! language override feature.
It works 100% on your site take a look:

i.imgur.com/IEz5mTe.png
i.imgur.com/NLYRQMP.png

Just make sure you disabled caching in Joomla!

You may also use diff checker to compare your modified language file with our newest release: www.diffchecker.com/

And that's all options you have.


Michal,

Thanks for the reply. It turns out I had uploaded an older version of my modified language file. Uploading the most recent one from my 4.1.1 install did the trick. There were a couple of things that changed with the 4.1.4 file, but overall it's no big deal... whew! Sorry to take your time looking into this.

Vince

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW