這裡也是忘記寫了,周一在說吧。
10月報16日
上午:
重新安裝作業系統
參與瞭解遠端連線oracle
下午:
搭建環境,系統備份
參與瞭解遠端連線oracle,下載用戶端並配置,伺服器位址IP,使用者名稱,密碼,sid
修改錯誤串連情況如下:“#”代表未完全處理的
問題一:
問題出在:http://localhost/aupair/QuestionsAnswers.html?act=needAgency
- six federally designated au pair agencies.
修改連結:VisaRegulations.html?act=americaAgencies
six federally designated au pair agencies.
ABC - Agency - twelve licenced agencies
問題二:
http://localhost/aupair/ABC.html?act=auAgency
原網站也是這個樣子的,跳轉到了Google的一個搜尋結果頁面。
ABC - Au Pair Agencies - Google search
問題三:
http://localhost/aupair/ABC.html?act=hours
修改連結:VisaRegulations.html?act=canada
ABC - Working hours - Visa&Regulations
Home ? Au Pair ABC ?Working hours
問題四:
http://localhost/aupair/ABC.html?act=pocket
他的網站也是串連到了一個404錯誤的頁面,url為:http://www.aupair-world.net/index.php/au_pair/pocketmoney/ae0.4031924589952491
ABC - Pocket Money - Norway
Home ? Au Pair ABC ?Pocket Money
問題五:
http://localhost/aupair/ABC.html?act=safety
將器串連修改為:ABC.html?act=pocket
ABC - Safety - pocket money
Home ? Au Pair ABC ?Safety
問題六:
http://localhost/aupair/ABC.html?act=safety
這兩個在ABC中已經有了,只不過是串連沒有改,分別修改為:
ABC.html?act=cameroon
ABC.html?act=morocco
ABC - Safety - Cameroon and Morocco
這個問題有兩處。
問題七:
http://localhost/aupair/ABC.html?act=safety
這兩個在ABC中已經有了,只不過是串連沒有改,分別修改為:
ABC.html?act=cameroon
ABC.html?act=morocco
ABC - Safety - Cameroon and Morocco
這個問題有兩處。
問題八:
http://localhost/aupair/ABC.html?act=workingHours
修改串連為:VisaRegulations.html?act=italy
問題九:
http://localhost/aupair/Statics.html?act=aboutAupairWorld
這個串連時在頁尾的About Us 中連結過來的,頁尾說是有人會做,所以這個頁面時保留還是刪除要待定
frequently asked questions section 修改串連為:Statics.html?act=questionsAnswers
United Kingdom 修改串連為:VisaRegulations.html?act=UK
(e.g. USA ) 修改串連為:VisaRegulations.html?act=america
legal requirements for using an au pair agency 修改串連為:VisaRegulations.html?act=americaAgencies
問題十:################
http://localhost/aupair/Statics.html?act=membership
這裡是遺留問題,因為這裡的頁面及子頁面都沒有做,暫時放一放。
Premium Membership - Terms of Service
Home ? Premium Membership ?
問題十一:
http://localhost/aupair/VisaRegulations.html?act=americaAgencies
Visa & Regulations - America - U.S.A.-Agencies - Agent Au Pair 連結可用2009-10-15
Visa & Regulations - America - U.S.A.-Agencies - USAuPair, Inc. aupair-world的連結也不可用,這裡是一個指向其它的網站的url
問題十二:################
http://localhost/aupair/VisaRegulations.html?act=belgium
解決方案:給Italy做國際化,將靜態Italy國際化成動態內容,這裡頁面和子頁面都沒有,要自己做。
注意點:
1、命名規則,和葛鵬的盡量保持一致
2、粒度,什麼地方拼串,什麼地方應該將一串字元劈開分別作國際化
3、如何解決不同國家的文法不同的問題。也就是說如果一段中有超連結,那麼我應該將指定內容替換掉。
Visa & Regulations - Belgium - Italy
Visa & Regulations - Belgium - Au pair in Belgium
問題十三:
解決方案:將國際化中的鍵名為“National Directorate of Labour (Arbeidsdirektoratet)”的內容修改和aupair-world保持一致。
要知道的:
1、Lan檔案夾中的***.class.php中定義的類調用gettext函數是和gettext結合產生po的,編輯po檔案後通過poedit產生mo檔案。page下的類結合template下的模板檔案,最終產生php快取檔案,快取檔案讀取mo檔案輸出最終的html文檔流到用戶端。
2、po檔案中的索引值必須唯一
3、po和mo檔案只有一個,所以其它的頁面可以直接的使用這些國際化以後的變數。
http://localhost/aupair/VisaRegulations.html?act=denmark
Visa & Regulations - Denmark - National Directorate of Labour (Arbeidsdirektoratet).
Home ? Visa & Regulations ? Denmark
問題十四:################原來是可以保持一致的,現在要串連到一個靜態頁面:Working in progress
http://localhost/aupair/VisaRegulations.html?act=france
Visa & Regulations - France - Working Hours: 修改VisaRegulationsLan.class.php檔案中的FranceLan方法中的連結地址。
Visa & Regulations - France - Website of the French embassy in Australia aupair-world中的連結也是404了
Visa & Regulations - France - Website of the French embassy in New Zealand aupair-world中的連結也是404了
Home ? Visa & Regulations ? France
問題十五:
http://localhost/aupair/VisaRegulations.html?act=sweden
修改Sweden.tpl檔案中的連結為:ABC.html?act=age
Visa & Regulations - Sweden - Age
Home ? Visa & Regulations ? Sweden