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?
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? |
I think there is a mod to help with language keys in the Market. Geeks, making the world a better place |
So I need to buy a mod right? xD The language keys...are they in a text file or in the database? |
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 |
The way I understand it the language keys are held in a php file and then compiled to the database.
Nope. That's backwards. https://www.deanbassett.com |
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.... |
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 |
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. https://www.deanbassett.com |