0
我正在做動態本地化。我從服務器端獲取所有本地化字符串。在響應的基礎上,我創建了動態的localization.string文件。例如:swift中的動態本地化
"By Venue"="Par Lieu";
"Invitee Name"="Invité Nom";
"Email suffix:"="Email suffixe:";
"METRICS"="MESURES";
"MD - Moldova"="MD - Moldavie";
"Name:"="Nom:";
"Approval Manager"="Gestionnaire de Approbation";
"Last login on:"="Dernière connexion sur:";
但是在這個響應中也包含了一些HTML標記。例如:
"<b ljsid-1="">Note:</b> You can send this email manually once every 24 hours."="<b ljsid-1="">Remarque:</b> Vous pouvez envoyer cet e-mail manuellement une fois toutes les 24 heures.";
如果我從動態創建的本地化文件中刪除此標記,那麼我能夠做loclaization。否則我不能loclaization。
所以請建議我,如何處理這個HTML標籤。在此先感謝