Posted: April 26, 2013 at 1:00 pm
|
Hello. Now I am learning the program, translate technical text (Text that will be displayed on buttons of the header) to the Latvian language(calendar), but me shows scribble.
Aivars |
|
calendar settings / advanced settings |
|
problem is Button text, but Month Names its ok.
|
|
+ PDF invoice not suport Latvian language (unicode) + PDF invoice not show full organization name, not show full event name, not unicode + PDF ticket not show latvian language, unicode + in the PDF ticket is Espresso baner link +PDF name not suport latvian language, unicode. ……. I dont understand, what should i do? |
|
+ PDF invoice not suport logo adress/image link – error. + in the event description show calendar icon, but click to the this icon and show error/not calendar. |
|
I tried changing the text for “month” and I’m not seeing the problem: http://eetesting.info/EE_branch/calendar/ |
|
Hello Sidney, I rewrite coretly text: prev: ‘ ◄ ’,next: ‘ ► ’,prevYear: ‘ « ’,nextYear: ‘ » ’,today:’šodiena’,month:’m?nesis’,week: ‘ned??a’,day:’diena’ But web show: http://bigabc.tv/lv/
|
|
I think I see the problem. When I went to change the text for “week” it displays correctly on the front end, but it messed up the text that I had previously put in for “month”. The only thing I can suggest right now is to copy all those text fields into a text editor, change them all to the correct text, and paste them back into the EE backend and save them all at once. We’ll have to look into why the correct text which is in the database, since it is displaying correctly on the front end, is displaying incorrectly when reloaded into those text fields on the back end. |
|
ok, I’ll do it and then will report back the results. |
|
Hi Sidney, Yes, I write in notepad and copy/paste all text= its ok. But – click repeatedly save calendar option = and reappearance of the problem, etters change to scribble. Ok, I now leave, but please be repaired and give me know. Next – invoice,ticket ,Espresso link, full organization name, full event name, logo adress/image link, “my” calendar icon… |
|
|
|
+ in Latvian currency is LVL |
|
LVL or EUR |
|
I’ve added LVL as the Latvian currency to the 3.1.34 version in development. Until that version is released, you can go into the file includes/organization_config.php and add the following lines after line 109: case 'LVA' : $org_options['currency_symbol'] = 'LVL'; //Latvian break; |
@Aivars — Question for you: The reason why the latvian currency was not supported by the plugin was because we don’t support a payment gateway that accepts that currency. This, obviously doesn’t apply to you since you’re using the offline, invoice option as your gateway. So my question is, in your opinion, should we support every currency option — even those that are not backed up by a payment gateway to accept payments in that currency? This leads to some other potential future issues since the currency that is used for display is based on the organization country set in the General Settings page that might even be potentially different than the currency that the actual gateway takes. It’s a rabbit hole that we’re planning on revisiting in the next generation version of the plugin and have had numerous development talks about in the past. Just looking for feedback so we know how people want and are expecting to use Event Espresso. |
|
|
Hi Sidney, Thank you, I add after line 109, its ok – show LVL. Hi, |
|
Sidney, PDF invoice show EUR. |
|
Hi Sidney,
Hi Chris, Yes, I now, LVL only accepts bank transfer and cash, paypal and other does not. Latvia is the European Union and next year will amount to EUR(2014.) Baltic states (Latvia, Lithuania, Estonia) all will be EUR. My vision is that: General section: Chris, you understand my idea? Ok, you help me to deal with my questions on the pdf and the rest of the above-written?
Aivars. |
Aivars — The plan moving forward is to drop the current functionality where the currency is determined based on the location. This obviously becomes an issue with EU countries or countries that support multiple currencies and adds more headaches. But this isn’t a change we’ll see in the current branch of Event Espresso (3.1.x). Ultimately, we’ll be moving toward more what you’re thinking where you can specify the country and the currency separately and I believe the plan is to deal with that on the payments page, since that’s what is really affected. Support for multiple currencies may come in one form or another at some point, but it’s tricky as it also relies on gateway support for multiple currencies. For now, what we can try to start doing is specifying the currencies to the countries, but it will probably be on an as-needed basis since most of our development energy is toward Event Espresso 4.0+. |
|
|
How rewrite the code for the Latvia to display the EUR? Dont show LVL but EUR. |
oh AND…
Sidney’s suggested fix should have taken care of that… // this temp stop gap for Euro decode issue if(getCountryZoneId($org_options['organization_country']) == '2'){ $currency_sign = 'EUR '; }else{ $currency_sign = html_entity_decode( $org_options[ 'currency_symbol' ], ENT_QUOTES, 'ISO-8859-15' ); } …with this // this overrides the currency symbol to be LVL $currency_sign = 'LVL'; |
|
It’s possible that the reason why it didn’t update if you made that change to the code that Sidney suggested was because you may need to re-save your general settings. That would update the currency code to be LVL. |
|
|
Chris, What do I have to be created in Latvia EUR? 110 line this? case ‘LVL’ : $org_options[‘currency_symbol’] = ‘EUR’; //Latvian |
|
case ‘LVA’ : $org_options['currency_symbol'] = ‘EUR’; //Latvian break; “LVA” is the 3 letter iso code for latvia. |
right, and if you wanted to change the currency symbol so it’s not EUR, you’d need to change that to: case 'LVA' : $org_options['currency_symbol'] = 'LVL'; //Latvian The above code Sidney posted would set the currency code for Latvia to be EUR. |
|
|
Yes, its ok. Thank you Chris and Sidney, Latvia show EUR. I close this ticket and open next my question. |
The support post ‘Calendar no support Latvian language?’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.