_()around it. Go back to your project and make all your strings translatable by adding
merge_filemethod combines translating and installing files, similarly to how the
executablemethod combines building and installing your app. You might have noticed that this method has both an
inputargument and an
outputargument. We can use this instead of the
renameargument from the
merge_filemethod has an
output. We're going to append the additional extension
.into our .desktop and .appdata.xml files so that this method can take the untranslated files and produce translated files with the correct names.
git mvcommand here instead of renaming in the file manager or with
gitcan keep track of the file rename as part of our revision history.
es.po. These files are now ready for translators to localize your app!
-update-pobuild targets from the previous two steps. If you want to support more languages, just list them in the LINGUAS file and generate the new po file with the
-update-potarget. Don't forget to add any new po files to git!