Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS comments in Localizable.strings file

Tags:

ios

xamarin

I'm using Xamarin iOS and I have a Localizable.strings file where I keep all my strings. It's becoming very cluttered now and was wondering if there was a way to add comments in this file to better organize it?

like image 899
Drake Avatar asked Mar 28 '16 20:03

Drake


1 Answers

The usual convention for adding comments to the .strings file is as follows:

/* Comment */
"key" = "localized-value";

https://developer.xamarin.com/guides/ios/advanced_topics/localization_and_internationalization/#.strings_file_format

like image 68
BytesGuy Avatar answered Oct 07 '22 10:10

BytesGuy