By Steve on Saturday, 20 July 2019
Posted in General Issues
Likes 0
Views 413
Votes 0
Does anyone know the location of the Language file for Sharing posts/streams? Looking to replace text in post stating, "User created a new page Whateveritis" to User created a new room Whateveritis" as we changed the Page to Room. I've looked all over, but cannot seem to find it in either Administration --> Language or Location directories.

Mainly for Tweets, but I would assume it would apply to all shares... Correct me if I'm wrong.

Any assistance would be grateful.

Thank you,
Steve
Hey there,

I am really sorry for the delay of this reply as it is a weekend for us here.

If you only looking for this translation "User created a new page Whateveritis", this is the language constants which use to translate this.


APP_PAGE_PAGES_STREAM_CREATED_PAGE="%1$s created a new page %2$s"


If you looking for all the different kind of stream post type, then it will involved a lot of language constants.

I would suggest you that download one of the text editor e.g. Sublime then option this file under JoomlaFolder/language/en-GB/en-GB.com_easysocial.ini

Then follow my step to replace all the page keyword to room https://take.ms/lge54 .

Once you done already you can copy all these translated language to your English override file. JoomlaFolder/language/overrides/en-GB.override.ini
·
Saturday, 20 July 2019 10:03
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Arlex,

Thanks for your answer. What you've laid out is something I have already done for the site. I apologize for not being specific. What I'm trying to locate the language file to change the phrase that shows up on a tweet (note attached screenshot) when sharing a page (Room in our case). Would you know where that file is located?
·
Saturday, 20 July 2019 11:22
·
0 Likes
·
0 Votes
·
0 Comments
·
Oh, no problem.

Perhaps you can share with me how you share this to your Twitter account? https://take.ms/4gQWN
·
Saturday, 20 July 2019 11:45
·
0 Likes
·
0 Votes
·
0 Comments
·
Sure Arlex,

Please see attached.

Thank you,
Steve
·
Saturday, 20 July 2019 11:55
·
0 Likes
·
0 Votes
·
0 Comments
·
Hm, actually this is the correct language constant translate that translation :


APP_PAGE_PAGES_STREAM_CREATED_PAGE="%1$s created a new page %2$s"


Can you view this single stream item page and view for the page source and see whether this "twitter:description" did updated your page to room yet?

1. Click on this single stream item link https://take.ms/U62PG
2. Then right click on the page and select view page source
3. search for 'twitter:description' https://take.ms/dCsbX

If it already translated to room, then try validate this from Twitter validator https://cards-dev.twitter.com/validator and see the preview is it still show the same.

EDITED
·
Sunday, 21 July 2019 11:36
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Arlex, this worked great. Thanks for the tips.

Steve
·
Sunday, 21 July 2019 21:57
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

You are most welcome. Glad to hear that your issue has been resolved now.

Just for your information, I have locked and marked this thread as resolved to avoid confusions in the future. Please start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiries.

Thanks for understanding.
·
Monday, 22 July 2019 10:00
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post