e107help.org Q&A
0 like 0 dislike
I'm translating e107 to swedish and it works well but the calendar has a different coding i e not UTF-8. So the å,ä ö looks like this. �
Is there a quick fix for this?
e107 version 2.1.5
closed with the note: problem solved
in Core by (38 points) 1 2 3
closed by
This is a tricky one..calendar ? is it the one from v0.7/1 ? or the actual one from v2 (blogcal...). The tricky part can also be a pc issue.. Using en-US keyboard or Swedish.. ? that can interact too.. As for the translation mind reading here ? https://plus.google.com/communities/105411900721345618805 posts by Stefan Pedersen... maybe collaboration possible ?

5 Answers

0 like 0 dislike
Last time I ran into this when translating into Swedish I had to check the .js files in the calendar because they didn't use utf-8 but iso-something. But that was a long time ago so I can't really remember where exactly.
Is there another way of contacting Stefan Pedersen. I'm not a fan of google+...
I can send him the language pack I've created.
by (38 points) 1 2 3

Aaah Sorry.... mde a mistake there..Stefan is busy with Danish... The only translator for SE (by lang pack) i could find is hanssons  .. he still runs a site at hanssons.de. Not even sure if he/she still does translator work..

0 like 0 dislike
Swedish, Danish ... It's just a hot potatoe in the mouth that separates the languages. ;-)
I had a little bit of contact with Hanssons but he didn't have the time to update the language files.
Neither had I at the time.
I've based my translation on his work. Everything is working fine at the moment except for this problem.
I've discovered that there are some tags that are'n't even present in the english files.
LAN_REMOVE in media manager for instance. Maybe that is solved now?
by (38 points) 1 2 3

Yes you can find it in English/admin/lan_admin.php  line 247
define("LAN_REMOVE", "Remove");

That LAN is used 2 times in admin_ui.php (info).

The great difference between old and new is that although many old defines are still in place and are used, a lot have been rearranged and/or commented (disabled). There is also an amount of new ones.. 

In v1 this LAN did not exist..

Well anyway iff for Stefan ( SteppeR ) maybe through e107.dk ?
and to help you a little > use a regex soft.. shareware..works quite well on windoos name: ABA Search and replace ..extract a pack on pc, add the location; use the LAN as searchterm...look at results... (nifty).. if you find it in English and not in SE you guess what to do . 
In a next step you might want to share the pack at : 
https://github.com/e107translations would be appreciated...


0 like 0 dislike
I'm just gonna change a few misinterpreted translations and then I will share the swedish language pack.
As always with translation and definitly with data-terms it's an ever ongoing process to get the right expression that is both grammatically correct and understandable.
I use pspad. It works just the same with the search-function. It's freeware.
It's nice for comparing files as well.
by (38 points) 1 2 3

There are indeed a lot of products that can do it.. its a personal liking..No obligation..

Success, just one pointer :  Keep all defines + trans texts in the double quote system..ala :

why so.. common use and when using words that consist of wht's happening... no more need to use /' or /n' etc...  (easy writing)

Success, and hope to see the contribution.. yes

0 like 0 dislike
But the first issue still persists. å ä ö does not show properly in the blogcalendar.
I'm just dealing with 2.1.5  full install and now also 2.1.6.
I checked my 1.04 install that i have and there it shows correctly. But thats because i translated the english.js to swedish.js. The awkward thing is that the date and time shows correctly in prefs and elsewhere. It's just the blogcalendar that has the issue.
by (38 points) 1 2 3

hmm don't actually use blogcal so bit out of my league. I can not tell if it also uses tinymce, that should also carry (like before) for swedish a swedish js.

If that is present and issue keeps popping up > make it an issue at https://github.com/e107inc/e107/issues so more coders/devs can have a look at it...

0 like 0 dislike
I've found the answer thanks to all the helpful members at Github.
by (38 points) 1 2 3
Welcome to e107 Q&A, where you can ask questions and receive answers from other members of the e107 community.
966 questions
1,365 answers
2,437 users