Label and Translation not working after upgrade to 9.63

Notes on our latest calendar for FileMaker 13,: DayBack
Posts: 36
Joined: Tue Mar 31, 2009 2:14 am
Location: SINGAPORE
PostPosted: Wed Dec 23, 2015 8:16 pm
Before upgrade to 9.63, I have customize the Home button to Close.

It is working well till I upgraded to 9.63. Now it is displaying Home , instead of Close. No matter what values I changed to for whichever labels, it is not displaying the translated labels.

Thank you


(function() {
'use strict';

angular
.module('app')
.config(['$translateProvider', 'calendarOptions', function ($translateProvider, calendarOptions) {


//English language and substitutions
$translateProvider.translations('en', {

//These are name value pairs. Customize the values only (the item after the colon)
'Home': "Close"
'Calendars': "Calendars",
'Filters': "Filters",
'Settings': "Settings",
SeedCode Staff
SeedCode Staff
Posts: 2764
Joined: Thu Nov 20, 2003 11:01 am
PostPosted: Thu Dec 24, 2015 7:01 am
Hi there,

I think this is because you're missing the comma after Close; it should look like...

//These are name value pairs. Customize the values only (the item after the colon)
'Home': "Close",
'Calendars': "Calendars",
'Filters': "Filters",

Note that I sometime have to apply the changes more than once to force the cache to clear; that or close and reopen the file after making translation changes.

Hope that helps,

John
John Sindelar
SeedCode
Posts: 36
Joined: Tue Mar 31, 2009 2:14 am
Location: SINGAPORE
PostPosted: Fri Dec 25, 2015 5:37 pm
Merry Christmas,

I did have the comma after the close. But I found the source of the problem. Let me try to explain

It is caused by the slanting double code. When I changed the label from "Home" to "Close", I accidentally deleted the closing double quote . I then inserted the double quote from the keyboard. Problem was this double quote is a "slanting" double quote. This was the problem. The double quote must be "vertical".

Cheers
Attachments
Not working.jpg
Not working.jpg (78.73 KiB) Viewed 8405 times
SeedCode Staff
SeedCode Staff
Posts: 2764
Joined: Thu Nov 20, 2003 11:01 am
PostPosted: Sat Dec 26, 2015 7:55 am
Excellent! Thanks for the screenshot.
John Sindelar
SeedCode

Return to DayBack Calendar for FileMaker

Who is online

Users browsing this forum: No registered users and 1 guest

(855) SEEDCODE
[email protected]
Follow us: