How would I be able to edit default English language file (texts, strings) ? May 10, 2016, 09:09:56 am Hello Community.I am new to this forum software and to this community too.I would like to change some strings of displayed messages on my forum. I do not want to change my language pack completely, but I simply want to edit some strings/texts of the default English language pack.Where is the file located in my ElkArte installation which contains the default strings that I can edit easily without any worries?Thank you!P.S. Note to developers: This forum script looks almost identical to SMF (Simple Machine Forums) expect it has more modern design. The sections, layout, settings are almost same.
Re: How would I be able to edit default English language file (texts, strings) ? Reply #1 – May 10, 2016, 09:32:38 am welcome to Elkarte !Quote from: https://github.com/elkarte/Elkarte/wiki/AboutElkArte is a successor fork to SMF and aims to modernize the code, implement new features and make forums more relevant in a time of unprecedented social interaction.
Re: How would I be able to edit default English language file (texts, strings) ? Reply #2 – May 10, 2016, 09:57:36 am The English language files are located in themes\default\languages\englishYou can also use the admin area, Languages -> Edit Languages Select English. From that page select from the various language templates which will allow you to edit the language strings in each template.
Re: How would I be able to edit default English language file (texts, strings) ? Reply #3 – May 10, 2016, 10:05:14 am Quote from: Spuds – May 10, 2016, 09:57:36 amThe English language files are located in themes\default\languages\englishYou can also use the admin area, Languages -> Edit Languages Select English. From that page select from the various language templates which will allow you to edit the language strings in each template.Hahahaha this took me some time to realise .At first I couldn't see it, but then I saw it, anyways thank you!
Re: How would I be able to edit default English language file (texts, strings) ? Reply #4 – May 10, 2016, 02:44:45 pm Do note, the language editor may choke on certain files with many strings. It's a known bug that may take a while to be fixed.
Re: How would I be able to edit default English language file (texts, strings) ? Reply #5 – May 10, 2016, 03:00:38 pm Quote from: Spuds – May 10, 2016, 09:57:36 amThe English language files are located in themes\default\languages\englishWith this method what will happen when a new version of langauge is updated? All text will be overwrited?In joomla there is a nice feature "Language overrdide" which allow the user to set custom translations and even if language files are updated the custom translations remains. To be honest I don't need such a feature as normal translations are fine for me, but I'm just curious Quote from: emanuele – May 10, 2016, 02:44:45 pmDo note, the language editor may choke on certain files with many strings. It's a known bug that may take a while to be fixed.Good to know, thanks
Re: How would I be able to edit default English language file (texts, strings) ? Reply #6 – May 10, 2016, 05:20:23 pm Quote from: radu81 – May 10, 2016, 03:00:38 pmAll text will be overwrited?Yep. Quote from: radu81 – May 10, 2016, 03:00:38 pmIn joomla there is a nice feature "Language overrdide" which allow the user to set custom translations and even if language files are updated the custom translations remains. There is a discussion about something like that, it may be worth exploring in future versions. Quote from: radu81 – May 10, 2016, 03:00:38 pmGood to know, thanks It's in the known bugs section since forever.
Re: How would I be able to edit default English language file (texts, strings) ? Reply #7 – May 11, 2016, 02:09:05 pm Quote from: emanuele – May 10, 2016, 05:20:23 pmQuote from: radu81 – May 10, 2016, 03:00:38 pmAll text will be overwrited?Yep. Quote from: radu81 – May 10, 2016, 03:00:38 pmIn joomla there is a nice feature "Language overrdide" which allow the user to set custom translations and even if language files are updated the custom translations remains. There is a discussion about something like that, it may be worth exploring in future versions. Quote from: radu81 – May 10, 2016, 03:00:38 pmGood to know, thanks It's in the known bugs section since forever. Odd... I changed some strings, but they are not appearing changed on my forum?
Re: How would I be able to edit default English language file (texts, strings) ? Reply #8 – May 16, 2016, 02:51:38 am Sorry, lost that one... Which file did you change?It may be a write-permission issue, but it could also be the "usual" php 5.5+ opcache. Or maybe something else.Windows or Linux? (The server of course )