1
Support / Re: How to create a language extension?
« on: April 28, 2015, 03:32:20 AM »
I've started the whole Abantecart system now multiple times from scratch but I still can't get the language to work.
This is the closest I've gotten...
1. Insert the finnish extension into 'extensions' folder
2. insert the folder 'finnish/storefront/language/finnish' from the finnish extension into 'public_html/MySubDomain/storefront/language/finnish'.
3. Then I do manual language install:
4. I select the language status: ON
Now I get multiple pages of storefront translations in the 'system/localization/language definitons' settings. Seven pages to be exact. But why aren't my other translations visible? It seems like only a few of my .xml translation files have been applied. The english translation has over 200 pages of language definitions.
For some reason the finnish translation stops working completely when I delete the 'idle' finnish extension from the 'extensions' folder (inserted in step 1). The flag.png isn't visible.
This is the closest I come to success. Now if I try to install the finnish extension I get critical errors and my database gets fucked up. But somehow, like a miracle, the flag.png starts working. But nothing really works anymore so I need to delete all the files and databases and re-start from scratch.
Please help me! This can't be that difficult???
This is the closest I've gotten...
1. Insert the finnish extension into 'extensions' folder
2. insert the folder 'finnish/storefront/language/finnish' from the finnish extension into 'public_html/MySubDomain/storefront/language/finnish'.
3. Then I do manual language install:
Quote
To manually add a new Language click the + button
Language Name: Suomi
Code: fi
Locale: fi_FI.UTF-8,fi_FI,finnish
Directory: /finnish/ (this seems to work best even though the manual says: The exact directory or folder where you uploaded the language files. Should be similar to public_html/storefront/language/languagename.
Sort Order: If your store uses multiple languages, what order the languages are displayed in.
4. I select the language status: ON
Now I get multiple pages of storefront translations in the 'system/localization/language definitons' settings. Seven pages to be exact. But why aren't my other translations visible? It seems like only a few of my .xml translation files have been applied. The english translation has over 200 pages of language definitions.
For some reason the finnish translation stops working completely when I delete the 'idle' finnish extension from the 'extensions' folder (inserted in step 1). The flag.png isn't visible.
This is the closest I come to success. Now if I try to install the finnish extension I get critical errors and my database gets fucked up. But somehow, like a miracle, the flag.png starts working. But nothing really works anymore so I need to delete all the files and databases and re-start from scratch.
Please help me! This can't be that difficult???