Editing various language keys at once??????

Ok this honestly drives me insane trying to replace only 1 crazy word for maybe 40 language keys from the admin panel. Is there an easier way?

Quote · 29 Mar 2013

I think there is a mod to help with language keys in the Market.

Geeks, making the world a better place
Quote · 29 Mar 2013

So I need to buy a mod right? xD

The language keys...are they in a text file or in the database?

Quote · 29 Mar 2013

The way I understand it the language keys are held in a php file and then compiled to the database.  If I am wrong on this then someone should come in with an explanation of how Dolphin uses language files.  So I assume one can edit the php language files and then recompile the file into the database.  Have you tried that?

Geeks, making the world a better place
Quote · 2 Apr 2013

 

The way I understand it the language keys are held in a php file and then compiled to the database.

Nope. That's backwards.

The keys are in the database. When compiled it generates something similar to a cache file in the languages folder. If you edit that file directly it will work, but will be lost as soon as the languages are recompiled.

Other than a mod, the language system built into admin is the only way. The import/export system is primarily for exporting a language to be translated to a different language then can be imported back in. It's not intended for editing an existing language.




https://www.deanbassett.com
Quote · 2 Apr 2013

On the other hand you can try running a CPU intensive query to update all words at once in a loop or something and recompile the lang from admin.

so much to do....
Quote · 2 Apr 2013

OK, so this ties into another forum topic that someone was having problems with a language translation.  So if the freaking language files are stored in the database and compiled to a file; which seems strange to me; then how does one add a translation?  I assume after you create the translation file, that you have to somehow import that to the database and then compile it back out to a language file?  No wonder language files are such a PITA on Dolphin.  If they are stored in the database and compiled to a file, then why do that?  Shouldn't it just be a file directly on the server in the first place?  So when I change the text for a language key in the admin, is it rewriting the language file on the server?  Please provide more details on this if you can.  I will pass it along to the other person needed to translate some language keys.  Is this same procedure true for the forum or does language keys work differently on the forum?

Geeks, making the world a better place
Quote · 2 Apr 2013

I did mention that's what the import/export functions are for.  To translate, you export the English language. Then translate the exported file. Then import it. But, this may be a bug or maybe not, but i have never been able to get exporting and reimporting of the same language to work. Seems if the language already exists it does not want to import without errors. At least i never could. Could be just a bug there.

But you have to do that without any modules installed as you only want to translate the system language using that method.

The modules are easy to translate as those are files. You create a translated file in the modules language folder and when you recompile the modules language the files are read, imported into the database, compiled and all of the keys for everything get combined into one file. That's what the compiling does.

Read the docs. The procedure is described in the docs. http://www.boonex.com/trac/dolphin/wiki/DolLang

https://www.deanbassett.com
Quote · 2 Apr 2013
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.