|
|
#1 |
|
Member
Join Date: Mar 2009
Posts: 36
Rep Power: 6 ![]() ![]() |
I'm currently thinking about making my website multilingual. Until now every kind of translation had it's dark sides.
It is possible to translate every kind of text with the language files. And I really like this feature. But I have some questions about how this feature works. Before I write too much, I just start to explain what I would like to do. Let`s say I create an extra field with the value 'car'. And now instead of unsing car I use variable names like {$smarty.const.LANG_VALUE_CAR}. In the language files I could now easily set the different translated words for this variable. But as you know the website will always display {$smarty.const.LANG_VALUE_CAR} and not the words from the language files. Is there a way to change that? Let the script get the value as variable and then displace it with the language file value. Would be great. I could translate every single extra file and value for every language.
__________________
68 Classifieds - Developer Edition v4.13 |
|
|
|
|
|
#2 |
|
Moderator
Join Date: Mar 2006
Posts: 4,227
Rep Power: 103 ![]() ![]() |
The problem is extra fields, category names etc etc are stored in the database. It stores what you type and displays it to site visitors.
You create a field category called "Car" thats whats in database, thats whats pulled out and thats whats displayed to the client. On that same not, your site visitors will enter an ad on your site and what they enter for ad details will be in what ever language they speak and thats what your clients will see. So regardless of what you do with category and extra field names the ad data itself will be untranslated.
__________________
Larry. (Please note: I am not a 68C employee. I am a customer and volunteer who helps with questions where I can and the forums spam free) Set your site apart from the competition with one of my modules...... Google Map Module | You Tube Module | Google Calendar Module | Event Calendar Module 68 Classifieds Important Links Customer Area | Issue Tracker | Knowledge Base | User Manuals |
|
|
|
|
|
#3 |
|
Member
Join Date: Mar 2009
Posts: 36
Rep Power: 6 ![]() ![]() |
Yes you're right. Was just an idea to make some of the values of extra fields translated. For drop down fields for example. But even if I could do this, it would mean that in the worst case I have mixed ads in my database. And I don't think that anyone would like to see that.
I have to think about that again. But I'm now quite sure that I will keep the categorys, fields and ads in english and will only use different languages for menus and help-files. Thanks for your fast answers btw.
__________________
68 Classifieds - Developer Edition v4.13 |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Spanish language file available? | GregorH | Pre Sales Questions | 7 | 02-06-2009 10:08 AM |
| German language file | pat01 | Pre Sales Questions | 4 | 12-09-2008 08:37 AM |
| German Frontend Language file | Eric Barnes | v4 Modules / Modifications | 0 | 09-19-2008 04:12 PM |
| language translate to portugues | atrapel | v4 Questions & Support | 1 | 07-18-2008 01:03 PM |
| Strange language file problem | HotAir | v3.1 Questions & Support | 3 | 10-24-2007 02:37 PM |